Skip to content

Commit

Permalink
update token names
Browse files Browse the repository at this point in the history
Signed-off-by: Faeka Ansari <[email protected]>
  • Loading branch information
fykaa committed Dec 4, 2024
1 parent 583fda7 commit 03897db
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 7 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -335,18 +335,15 @@ jobs:
provenance-name: kargo-cli.intoto.jsonl

update-homebrew-formula:
if: github.event_name == 'release'
permissions:
contents: write # Needed to push changes
pull-requests: write # Needed to create a pull request
if: github.event_name == 'release' && github.event.action == 'released' # Runs only for stable releases
runs-on: ubuntu-latest
needs: [ publish-image, publish-cli ]
steps:
- name: Checkout tap repository
uses: actions/checkout@v4
with:
repository: akuity/homebrew-tap
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.TAP_PAT }}

- name: Setup Git User
uses: fregante/setup-git-user@v2
Expand All @@ -365,7 +362,7 @@ jobs:
- name: Open PR
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.TAP_PAT }}
commit-message: "Update Kargo formula to version ${{ github.ref_name }}"
branch: update-kargo-${{ github.ref_name }}
base: main
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ build-cli:
./cmd/cli

################################################################################
# Used for Nighty/Unstable builds #
# Used for Nightly/Unstable builds #
################################################################################

.PHONY: build-nightly-cli
Expand Down

0 comments on commit 03897db

Please sign in to comment.