Visa certificate #60
This file contains hidden or 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: Update credential types list | |
| on: | |
| push: | |
| paths: | |
| - "**" | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repo | |
| uses: actions/checkout@v4 | |
| with: | |
| persist-credentials: true | |
| - name: Setup Node | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 20 | |
| - name: Run script | |
| run: node .github/scripts/build-credential-types-list.js | |
| - name: Commit generated credentials type list file | |
| run: | | |
| git config --global user.name "github-actions" | |
| git config --global user.email "actions@github.com" | |
| git add _generated/credentials.json | |
| git commit -m "Auto update credentials type list" || echo "No changes" | |
| git push |