update github token due to expiration (#287) #146
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: GitHub Sync Update | |
on: | |
push: | |
branches: | |
- main | |
paths: | |
- 'github-sync/github-data/*.yaml' | |
- 'github-sync/Pulumi*.yaml' | |
env: | |
PULUMI_ACCESS_TOKEN: ${{ secrets.PULUMI_ACCESS_TOKEN }} | |
GITHUB_OWNER: sigstore | |
jobs: | |
Update: | |
name: Update | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@2541b1294d2704b0964813337f33b291d3f8596b # v3 | |
- uses: sigstore/github-sync@main | |
with: | |
work_dir: ./github-sync | |
config_directory: ./github-sync/github-data | |
stack_name: sigstore/github-prod | |
pulumi_access_token: ${{ secrets.PULUMI_ACCESS_TOKEN }} | |
pulumi_command: up | |
gh_token: ${{ secrets.GITHUB_TOKEN }} |