Skip to content

Commit

Permalink
build: Remove auto merge and unneeded actions
Browse files Browse the repository at this point in the history
  • Loading branch information
bgins committed Sep 9, 2024
1 parent 3700728 commit f705714
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 477 deletions.
1 change: 0 additions & 1 deletion .github/CODEOWNERS

This file was deleted.

128 changes: 0 additions & 128 deletions .github/workflows/devnet_deploy.yml

This file was deleted.

70 changes: 0 additions & 70 deletions .github/workflows/devnet_deploy_chain.yml

This file was deleted.

45 changes: 4 additions & 41 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,43 +41,6 @@ jobs:
sha: ${{ steps.release.outputs.sha }}
tag_name: ${{ steps.release.outputs.tag_name }}

merge:
if: needs.release.outputs.prs_created == 'true' && needs.release.outputs.releases_created == 'false'
name: Merge Release PR
needs: release
runs-on: ubuntu-latest
permissions:
pull-requests: write
contents: write
steps:
- name: Checkout
uses: actions/checkout@v4
with:
ref: release-please--branches--main

- name: Get Release Bot Token
id: get-release-bot-token
uses: peter-murray/workflow-application-token-action@v1
with:
application_id: ${{ secrets.RELEASE_BOT_ID }}
application_private_key: ${{ secrets.RELEASE_BOT_PRIVATE_KEY }}
organization: "Lilypad-Tech"

# Approve with github-actions bot
- name: Approve PR
id: approve
env:
GH_TOKEN: ${{ github.token }}
run: |
gh pr review --approve
# Auto-merge PR when status checks complete or merge immediately if no checks in progress
# The auto-merge flag requires branch protection rule overrides.
- name: Merge Release PR
env:
GH_TOKEN: ${{ steps.get-release-bot-token.outputs.token }}
run: gh pr merge --squash --auto || gh pr merge --squash

extend-notes:
if: needs.release.outputs.releases_created == 'true' && needs.release.outputs.prs_created == 'false'
name: Extend Release Notes
Expand Down Expand Up @@ -132,10 +95,10 @@ jobs:
goarch: amd64
gpu: true
runner: ubuntu-latest
- goos: linux
goarch: arm64
gpu: true
runner: linux-arm64
# - goos: linux
# goarch: arm64
# gpu: true
# runner: linux-arm64
- goos: darwin
goarch: amd64
gpu: false
Expand Down
46 changes: 0 additions & 46 deletions .github/workflows/release_docker.yml

This file was deleted.

26 changes: 0 additions & 26 deletions .github/workflows/testnet_deploy_contracts.yml

This file was deleted.

Loading

0 comments on commit f705714

Please sign in to comment.