Skip to content

Commit

Permalink
Merge pull request #75 from SpatiumPortae/f/bump-homebrew-core-job
Browse files Browse the repository at this point in the history
feat: add homebrew/core update PR creation as a job after release
  • Loading branch information
ZinoKader authored Mar 15, 2023
2 parents a2e70ef + 74ff4f9 commit c6443c2
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ jobs:
runs-on: ubuntu-latest
env:
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
BREW_TOKEN: ${{ secrets.BREW_TOKEN }}
SNAPCRAFT_STORE_CREDENTIALS: ${{ secrets.SNAPCRAFT_TOKEN }}
steps:
- name: Checkout branch
Expand All @@ -31,3 +32,10 @@ jobs:
with:
version: latest
args: release --rm-dist

- name: Update Portal formula in homebrew/core
uses: dawidd6/action-homebrew-bump-formula@v3
with:
formula: portal
token: $BREW_TOKEN # Different token for creating a PR in homebrew/core.
force: false # Check for already open PRs.

0 comments on commit c6443c2

Please sign in to comment.