Skip to content

Commit

Permalink
[internal] Update GitHub Actions workflow files
Browse files Browse the repository at this point in the history
  • Loading branch information
pulumi-bot committed Nov 14, 2024
1 parent 29056fa commit 379d4b2
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/upgrade-bridge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,16 @@ on:
required: false
type: boolean
default: false

permissions:
contents: write
issues: write
pull-requests: write

env:
GH_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
GH_TOKEN: ${{ secrets.PULUMI_PROVIDER_AUTOMATION_TOKEN || secrets.PULUMI_BOT_TOKEN || secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
upgrade_provider:
name: upgrade-provider
Expand Down
8 changes: 7 additions & 1 deletion .github/workflows/upgrade-provider.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,15 @@ on:
# 3 AM UTC ~ 8 PM PDT / 7 PM PST daily. Time chosen to run during off hours.
- cron: 0 3 * * *

permissions:
contents: write
issues: write
pull-requests: write

env:
GH_TOKEN: ${{ secrets.PULUMI_BOT_TOKEN }}
GH_TOKEN: ${{ secrets.PULUMI_PROVIDER_AUTOMATION_TOKEN || secrets.PULUMI_BOT_TOKEN || secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

jobs:
upgrade_provider:
name: upgrade-provider
Expand Down

0 comments on commit 379d4b2

Please sign in to comment.