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: bump thollander/actions-comment-pull-request from 2.5.0 to 3.0.0 #280

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
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
26 changes: 13 additions & 13 deletions .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,28 +34,28 @@ jobs:
# See https://github.com/thollander/actions-comment-pull-request
- name: Add or update Pull Request comment including screenshot [deploy_download_preview]
if: env.deploy_download_preview == 'true'
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
uses: thollander/actions-comment-pull-request@e2c37e53a7d2227b61585343765f73a9ca57eda9 # v3.0.0
env:
MESSAGE: |
### download.slicer.org preview [branch: deploy_download_preview]
:hourglass: **IN PROGRESS**
with:
message: ${{ env.MESSAGE }}
comment_tag: deploy_download_preview
GITHUB_TOKEN: ${{ secrets.SLICERBOT_GITHUB_TOKEN }}
comment-tag: deploy_download_preview
github-token: ${{ secrets.SLICERBOT_GITHUB_TOKEN }}

# See https://github.com/thollander/actions-comment-pull-request
- name: Add or update Pull Request comment including screenshot [deploy_download_maintenance_preview]
if: env.deploy_download_maintenance_preview == 'true'
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
uses: thollander/actions-comment-pull-request@e2c37e53a7d2227b61585343765f73a9ca57eda9 # v3.0.0
env:
MESSAGE: |
### download.slicer.org preview [branch: deploy_download_maintenance_preview]
:hourglass: **IN PROGRESS**
with:
message: ${{ env.MESSAGE }}
comment_tag: deploy_download_maintenance_preview
GITHUB_TOKEN: ${{ secrets.SLICERBOT_GITHUB_TOKEN }}
comment-tag: deploy_download_maintenance_preview
github-token: ${{ secrets.SLICERBOT_GITHUB_TOKEN }}

- name: 📂 setup
uses: actions/checkout@eef61447b9ff4aafe5dcd4e0bbf5d482be7e7871 # v4.2.1
Expand Down Expand Up @@ -139,7 +139,7 @@ jobs:
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4.0.0
with:
force_orphan: true
github_token: ${{ secrets.SLICERBOT_GITHUB_TOKEN }}
github-token: ${{ secrets.SLICERBOT_GITHUB_TOKEN }}
publish_dir: ./_site
publish_branch: ${{ matrix.branch }}
user_name: 'Slicer Bot'
Expand Down Expand Up @@ -205,7 +205,7 @@ jobs:
# See https://github.com/thollander/actions-comment-pull-request
- name: Add or update Pull Request comment including screenshot [deploy_download_preview]
if: env.deploy_download_preview == 'true'
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
uses: thollander/actions-comment-pull-request@e2c37e53a7d2227b61585343765f73a9ca57eda9 # v3.0.0
env:
IMG_URL_0: ${{ steps.capture_deploy_download_preview_release_and_nightly.outputs.imgur_url }}
IMG_URL_1: ${{ steps.capture_deploy_download_preview_only_release.outputs.imgur_url }}
Expand All @@ -223,8 +223,8 @@ jobs:
[^2]: Due to limitation of Netlify preventing us from having multiple [deploy previews](https://docs.netlify.com/site-deploys/deploy-previews/) associated with a single pull request and the [impossibility](https://github.community/t/make-secrets-available-to-builds-of-forks/16166) of using repository secret in a workflow associated with a pull-request originating from forks, the `deploy-download-preview` site is only updated for pull request originating from this repository and will be overriden after another pull request is pushed or updated.
with:
message: ${{ format(env.MESSAGE, env.IMG_URL_0, env.IMG_URL_1, env.IMG_URL_2, env.IMG_URL_3) }}
comment_tag: deploy_download_preview
GITHUB_TOKEN: ${{ secrets.SLICERBOT_GITHUB_TOKEN }}
comment-tag: deploy_download_preview
github-token: ${{ secrets.SLICERBOT_GITHUB_TOKEN }}

- name: Capture deploy-download-maintenance-preview screenshot
if: env.deploy_download_maintenance_preview == 'true'
Expand All @@ -237,7 +237,7 @@ jobs:
# See https://github.com/thollander/actions-comment-pull-request
- name: Add or update Pull Request comment including screenshot [deploy_download_maintenance_preview]
if: env.deploy_download_maintenance_preview == 'true'
uses: thollander/actions-comment-pull-request@fabd468d3a1a0b97feee5f6b9e499eab0dd903f6 # v2.5.0
uses: thollander/actions-comment-pull-request@e2c37e53a7d2227b61585343765f73a9ca57eda9 # v3.0.0
env:
IMG_URL_0: ${{ steps.capture_deploy_download_maintenance_preview.outputs.imgur_url }}
MESSAGE: |
Expand All @@ -250,6 +250,6 @@ jobs:
[^2]: Due to limitation of Netlify preventing us from having multiple [deploy previews](https://docs.netlify.com/site-deploys/deploy-previews/) associated with a single pull request and the [impossibility](https://github.community/t/make-secrets-available-to-builds-of-forks/16166) of using repository secret in a workflow associated with a pull-request originating from forks, the `deploy-download-preview` site is only updated for pull request originating from this repository and will be overriden after another pull request is pushed or updated.
with:
message: ${{ format(env.MESSAGE, env.IMG_URL_0) }}
comment_tag: deploy_download_maintenance_preview
GITHUB_TOKEN: ${{ secrets.SLICERBOT_GITHUB_TOKEN }}
comment-tag: deploy_download_maintenance_preview
github-token: ${{ secrets.SLICERBOT_GITHUB_TOKEN }}

Loading