|
24 | 24 | if: startsWith(github.event.commits[0].message, 'docs:') |
25 | 25 | steps: |
26 | 26 | - name: Checkout repo |
27 | | - uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4 |
| 27 | + uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 |
28 | 28 | with: |
29 | 29 | persist-credentials: false |
30 | 30 | - name: Determine what node version to use |
|
34 | 34 | node-version: ${{ vars.NODE_VERSION }} |
35 | 35 | id: lockversion |
36 | 36 | - name: Use Node.js |
37 | | - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 |
| 37 | + uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0 |
38 | 38 | with: |
39 | 39 | node-version: "${{ steps.lockversion.outputs.version }}" |
40 | 40 | cache: 'npm' |
|
44 | 44 | - name: Regenerate docs |
45 | 45 | run: npm run generate:assets --if-present |
46 | 46 | - name: Create Pull Request with updated docs |
47 | | - uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # uses 7.0.8 https://github.com/peter-evans/create-pull-request/releases/tag/v7.0.8 |
| 47 | + uses: peter-evans/create-pull-request@5f6978faf089d4d20b00c7766989d076bb2fc7f1 # v8.1.1 |
48 | 48 | with: |
49 | 49 | token: ${{ secrets.GH_TOKEN }} |
50 | 50 | commit-message: 'chore: update generated docs' |
|
55 | 55 | branch: gen-docs-update/${{ github.job }} |
56 | 56 | - name: Report workflow status to Slack |
57 | 57 | if: failure() # Only, on failure, send a message on the 94_bot-failing-ci slack channel |
58 | | - uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 #using https://github.com/8398a7/action-slack/releases/tag/v3.16.2 |
| 58 | + uses: 8398a7/action-slack@77eaa4f1c608a7d68b38af4e3f739dcd8cba273e # v3.19.0 |
59 | 59 | with: |
60 | 60 | status: ${{ job.status }} |
61 | 61 | fields: repo,action,workflow |
|
0 commit comments