Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CI: Upgrade some more actions to their latest versions #2935

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 2 additions & 4 deletions .github/workflows/pr_info_intro.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,10 @@ permissions:
jobs:
intro_comment:
name: Make intro comment
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
- name: 'Prepare sticky comment'
# commit of v2.5.0
# same one used again at the bottom of the file to update the comment.
uses: marocchino/sticky-pull-request-comment@3d60a5b2dae89d44e0c6ddc69dd7536aec2071cd
uses: marocchino/sticky-pull-request-comment@2.9.0
with:
message: |
Thanks for your Pull Request and making D better!
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr_info_post.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@ permissions:
jobs:
comment:
name: PR Info
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
if: >
github.event.workflow_run.event == 'pull_request' &&
github.event.workflow_run.conclusion == 'success'
steps:
# from https://securitylab.github.com/research/github-actions-preventing-pwn-requests/
- name: 'Download artifact'
uses: actions/github-script@v3.1.0
uses: actions/github-script@v7
with:
script: |
var artifacts = await github.actions.listWorkflowRunArtifacts({
Expand All @@ -46,7 +46,7 @@ jobs:
echo "PR_ID=$PR_ID" >> $GITHUB_ENV

- name: Update GitHub comment
uses: marocchino/sticky-pull-request-comment@3d60a5b2dae89d44e0c6ddc69dd7536aec2071cd
uses: marocchino/sticky-pull-request-comment@2.9.0
with:
path: ./comment.txt
number: ${{ env.PR_ID }}
2 changes: 1 addition & 1 deletion .github/workflows/pr_info_untrusted.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ on:
jobs:
pr_info:
name: PR Info
runs-on: ubuntu-20.04
runs-on: ubuntu-latest
steps:
# we first create a comment thanking the user in pr_info_intro.yml
# (separate step due to needing GITHUB_TOKEN access)
Expand Down
Loading