Skip to content

Commit

Permalink
Merge pull request #4 from mobilecoinofficial/initial-release
Browse files Browse the repository at this point in the history
use PAT for tag that will trigger downstream events.
  • Loading branch information
jgreat authored Apr 8, 2022
2 parents 0e36217 + f4da5be commit 38ffea7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/tag.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,17 @@ jobs:
- name: Checkout
uses: actions/checkout@v3

# We need to use an external PAT here because GHA will not run downstream events if we use the built in token.
- name: Bump GitHub tag
id: bump
uses: anothrNick/[email protected]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.ACTIONS_TOKEN }}
WITH_V: "true"
DEFAULT_BUMP: patch

# Use built in token here because we don't need downstream events for these tags.
# Doing manual tag because anothrNick/github-tag-action won't retag a commit.
- name: Get major and minor values for new tag
id: tags
env:
Expand Down

0 comments on commit 38ffea7

Please sign in to comment.