Skip to content

Commit 6729f4c

Browse files
authored
ci: update of files from global .github repo (#1899)
1 parent 21e16db commit 6729f4c

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

.github/workflows/update-docs-on-docs-commits.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,6 @@ on:
1212
branches:
1313
- master
1414

15-
env:
16-
CI: true
17-
1815
jobs:
1916
docs-gen:
2017
name: 'Generate docs and create PR'
@@ -26,10 +23,11 @@ jobs:
2623
- name: Checkout repo
2724
uses: actions/checkout@v4
2825
- name: Check package-lock version
29-
uses: asyncapi/.github/.github/actions/get-node-version-from-package-lock@master
26+
# This workflow is from our own org repo and safe to reference by 'master'.
27+
uses: asyncapi/.github/.github/actions/get-node-version-from-package-lock@master # //NOSONAR
3028
id: lockversion
3129
- name: Use Node.js
32-
uses: actions/setup-node@v3
30+
uses: actions/setup-node@v4
3331
with:
3432
node-version: "${{ steps.lockversion.outputs.version }}"
3533
cache: 'npm'
@@ -39,7 +37,7 @@ jobs:
3937
- name: Regenerate docs
4038
run: npm run generate:assets --if-present
4139
- name: Create Pull Request with updated docs
42-
uses: peter-evans/create-pull-request@153407881ec5c347639a548ade7d8ad1d6740e38 # uses 5.0.2 https://github.com/peter-evans/create-pull-request/releases/tag/v5.0.2
40+
uses: peter-evans/create-pull-request@271a8d0340265f705b14b6d32b9829c1cb33d45e # uses 7.0.8 https://github.com/peter-evans/create-pull-request/releases/tag/v7.0.8
4341
with:
4442
token: ${{ secrets.GH_TOKEN }}
4543
commit-message: 'chore: update generated docs'
@@ -50,7 +48,7 @@ jobs:
5048
branch: gen-docs-update/${{ github.job }}
5149
- name: Report workflow status to Slack
5250
if: failure() # Only, on failure, send a message on the 94_bot-failing-ci slack channel
53-
uses: 8398a7/action-slack@fbd6aa58ba854a740e11a35d0df80cb5d12101d8 #using https://github.com/8398a7/action-slack/releases/tag/v3.15.1
51+
uses: 8398a7/action-slack@28ba43ae48961b90635b50953d216767a6bea486 #using https://github.com/8398a7/action-slack/releases/tag/v3.16.2
5452
with:
5553
status: ${{ job.status }}
5654
fields: repo,action,workflow

0 commit comments

Comments
 (0)