Skip to content

Commit

Permalink
Move uses block before permissions
Browse files Browse the repository at this point in the history
  • Loading branch information
mjbond-msft committed Aug 6, 2024
1 parent fd5a8f4 commit ca7ccd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/rebase-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
jobs:
launchRebaseBuild:
runs-on: ubuntu-latest
uses: xamarin/rebase-bot-action/.github/workflows/[email protected]
# GITHUB_TOKEN change from read-write to read-only on 2024-02-01 requires permissions block
# https://docs.opensource.microsoft.com/github/apps/permission-changes/
# https://docs.github.com/en/actions/using-jobs/assigning-permissions-to-jobs
Expand All @@ -15,7 +16,6 @@ jobs:
contents: read
security-events: write
id-token: write # The rebase-action template being invoked requires this permission
uses: xamarin/rebase-bot-action/.github/workflows/[email protected]
with:
pull_request_url: ${{ github.event.issue.pull_request.url }}
comment_author: ${{ github.actor }}
Expand Down

0 comments on commit ca7ccd1

Please sign in to comment.