ci: Bump marocchino/sticky-pull-request-comment action to latest version (2.9.0) (#22259)

Updates the marocchino/sticky-pull-request-comment action to its latest
version, 2.9.0. This upgrade was needed because some options used in
recent workflows are not available in the older version.

I confirmed that the commit 331f8f5b4215f0445d3c07b4967662a32a2d3e31
corresponds to the v2.9.0 tag in the
marocchino/sticky-pull-request-comment repo:
https://github.com/marocchino/sticky-pull-request-comment/releases/tag/v2.9.0

This will be ported to the 2.2 release branch as well.
This commit is contained in:
Tyler Butler 2024-08-19 13:44:02 -07:00 коммит произвёл GitHub
Родитель 5b3811e137
Коммит 1873d113cf
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
3 изменённых файлов: 10 добавлений и 5 удалений

9
.github/workflows/changeset-reporter.yml поставляемый
Просмотреть файл

@ -35,7 +35,8 @@ jobs:
- name: Required but missing
if: fromJson(steps.changeset.outputs.CHANGESET).required == true && fromJson(steps.changeset.outputs.CHANGESET).changesetFound == false
uses: marocchino/sticky-pull-request-comment@fcf6fe9e4a0409cd9316a5011435be0f3327f1e1 # ratchet:marocchino/sticky-pull-request-comment@v2.3.1
# release notes: https://github.com/marocchino/sticky-pull-request-comment/releases/tag/v2.9.0
uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # ratchet:marocchino/sticky-pull-request-comment@v2.9.0
with:
header: changeset
number: ${{ fromJson(steps.changeset.outputs.CHANGESET).pr }}
@ -43,7 +44,8 @@ jobs:
- name: Required and present
if: fromJson(steps.changeset.outputs.CHANGESET).required == true && fromJson(steps.changeset.outputs.CHANGESET).changesetFound == true
uses: marocchino/sticky-pull-request-comment@fcf6fe9e4a0409cd9316a5011435be0f3327f1e1 # ratchet:marocchino/sticky-pull-request-comment@v2.3.1
# release notes: https://github.com/marocchino/sticky-pull-request-comment/releases/tag/v2.9.0
uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # ratchet:marocchino/sticky-pull-request-comment@v2.9.0
with:
header: changeset
number: ${{ fromJson(steps.changeset.outputs.CHANGESET).pr }}
@ -53,7 +55,8 @@ jobs:
- name: Changeset not required
if: fromJson(steps.changeset.outputs.CHANGESET).required == false && fromJson(steps.changeset.outputs.CHANGESET).changesetFound == true
uses: marocchino/sticky-pull-request-comment@fcf6fe9e4a0409cd9316a5011435be0f3327f1e1 # ratchet:marocchino/sticky-pull-request-comment@v2.3.1
# release notes: https://github.com/marocchino/sticky-pull-request-comment/releases/tag/v2.9.0
uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # ratchet:marocchino/sticky-pull-request-comment@v2.9.0
with:
header: changeset
number: ${{ fromJson(steps.changeset.outputs.CHANGESET).pr }}

3
.github/workflows/linkcheck-reporter.yml поставляемый
Просмотреть файл

@ -26,7 +26,8 @@ jobs:
run: echo "pr=$(cat pr)" >> $GITHUB_OUTPUT
working-directory: ./results
- name: Post report in comment
uses: marocchino/sticky-pull-request-comment@fcf6fe9e4a0409cd9316a5011435be0f3327f1e1 # ratchet:marocchino/sticky-pull-request-comment@v2.3.1
# release notes: https://github.com/marocchino/sticky-pull-request-comment/releases/tag/v2.9.0
uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # ratchet:marocchino/sticky-pull-request-comment@v2.9.0
with:
header: linkreport
recreate: true

Просмотреть файл

@ -19,7 +19,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Post warning in comment
uses: marocchino/sticky-pull-request-comment@fcf6fe9e4a0409cd9316a5011435be0f3327f1e1 # ratchet:marocchino/sticky-pull-request-comment@v2.3.1
# release notes: https://github.com/marocchino/sticky-pull-request-comment/releases/tag/v2.9.0
uses: marocchino/sticky-pull-request-comment@331f8f5b4215f0445d3c07b4967662a32a2d3e31 # ratchet:marocchino/sticky-pull-request-comment@v2.9.0
with:
path: ${{ github.workspace }}/.github/workflows/data/release-branch-warning.md
only_create: true