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

Bump the github-actions group with 6 updates #180

Closed
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 7 additions & 7 deletions .github/workflows/branch-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:

steps:
# execute the branch-deploy action
- uses: github/branch-deploy@v8
- uses: github/branch-deploy@v9
id: branch-deploy
with:
trigger: ".deploy"
Expand All @@ -64,13 +64,13 @@ jobs:

- name: astro build cache
id: astro-build-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .cache
key: ${{ runner.os }}-astro-build-${{ hashFiles('**/cache.json') }}

- name: build with astro
uses: withastro/action@f122c0232093b3504e4c841a46c2eebd07c47392 # pin@v1.0.3
uses: withastro/action@acfe56dffc635abfb9506c77d51ce097030360d1 # pin@v2.0.0

# deploy to GitHub Pages
deploy:
Expand Down Expand Up @@ -141,23 +141,23 @@ jobs:
# if the deployment was successful, add a 'rocket' reaction to the comment that triggered the deployment
- name: rocket reaction
if: ${{ steps.deploy-status.outputs.DEPLOY_STATUS != 'failure' }}
uses: GrantBirki/comment@v2.0.8
uses: GrantBirki/comment@v2.0.9
with:
comment-id: ${{ needs.trigger.outputs.comment_id }}
reactions: rocket

# if the deployment failed, add a '-1' (thumbs down) reaction to the comment that triggered the deployment
- name: failure reaction
if: ${{ steps.deploy-status.outputs.DEPLOY_STATUS == 'failure' }}
uses: GrantBirki/comment@v2.0.8
uses: GrantBirki/comment@v2.0.9
with:
comment-id: ${{ needs.trigger.outputs.comment_id }}
reactions: "-1"

# if the deployment was successful, add a 'success' comment
- name: success comment
if: ${{ steps.deploy-status.outputs.DEPLOY_STATUS != 'failure' }}
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # pin@v3.1.0
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # pin@v4.0.0
with:
issue-number: ${{ github.event.issue.number }}
body: |
Expand All @@ -170,7 +170,7 @@ jobs:
# if the deployment was not successful, add a 'failure' comment
- name: failure comment
if: ${{ steps.deploy-status.outputs.DEPLOY_STATUS == 'failure' }}
uses: peter-evans/create-or-update-comment@23ff15729ef2fc348714a3bb66d2f655ca9066f2 # pin@v3.1.0
uses: peter-evans/create-or-update-comment@71345be0265236311c031f5c7866368bd1eff043 # pin@v4.0.0
with:
issue-number: ${{ github.event.issue.number }}
body: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:

- name: astro build cache
id: astro-build-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .cache
key: ${{ runner.os }}-astro-build-${{ hashFiles('**/cache.json') }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
steps:
# https://github.com/github/branch-deploy/blob/d3c24bd92505e623615b75ffdfac5ed5259adbdb/docs/merge-commit-strategy.md
- name: deployment check
uses: github/branch-deploy@v8
uses: github/branch-deploy@v9
id: deployment-check
with:
merge_deploy_mode: "true"
Expand All @@ -43,13 +43,13 @@ jobs:

- name: astro build cache
id: astro-build-cache
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: .cache
key: ${{ runner.os }}-astro-build-${{ hashFiles('**/cache.json') }}

- name: build with astro
uses: withastro/action@f122c0232093b3504e4c841a46c2eebd07c47392 # pin@v1.0.3
uses: withastro/action@acfe56dffc635abfb9506c77d51ce097030360d1 # pin@v2.0.0

deploy:
if: ${{ needs.deployment-check.outputs.continue == 'true' }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/json-yaml-validate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ jobs:

- name: json-yaml-validate
id: json-yaml-validate
uses: GrantBirki/json-yaml-validate@v2.5.0
uses: GrantBirki/json-yaml-validate@v2.6.1
with:
comment: "true" # enable comment mode
2 changes: 1 addition & 1 deletion .github/workflows/new-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
# Comment on new PR requests with deployment instructions
- uses: actions/checkout@v4
- name: comment
uses: GrantBirki/comment@v2.0.8
uses: GrantBirki/comment@v2.0.9
continue-on-error: true
with:
file: .github/new-pr-comment.md
2 changes: 1 addition & 1 deletion .github/workflows/unlock-on-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:

steps:
- name: unlock on merge
uses: github/branch-deploy@v8
uses: github/branch-deploy@v9
id: unlock-on-merge
with:
unlock_on_merge_mode: "true" # <-- indicates that this is the "Unlock on Merge Mode" workflow
Expand Down