⬆️upgrade(ci): Bump actions/setup-node from 4.0.3 to 4.0.4 in /.github/workflows #341
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: 2022 WebReady Projects <https://github.com/wr-projects/> | |
# | |
# SPDX-License-Identifier: MIT | |
--- | |
name: Pipeline - Automatic Rebase | |
on: | |
issue_comment: | |
types: [created] | |
permissions: | |
contents: read | |
issues: write | |
jobs: | |
# More info: | |
rebase: | |
if: github.event.issue.pull_request != '' && contains(github.event.comment.body, '/rebase') | |
runs-on: ubuntu-latest | |
steps: | |
# More info: https://github.com/step-security/harden-runner. | |
- name: Harden Runner | |
id: harden_runner | |
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7 | |
with: | |
egress-policy: audit | |
# More info: https://github.com/peter-murray/workflow-application-token-action. | |
- name: Get token | |
id: get_token | |
uses: peter-murray/workflow-application-token-action@dc0413987a085fa17d19df9e47d4677cf81ffef3 | |
with: | |
application_id: ${{ secrets.ID_REBASEISSUEBOT }} | |
application_private_key: ${{ secrets.PEM_REBASEISSUEBOT }} | |
# More info: https://github.com/actions/checkout. | |
- name: Checkout & Authentication | |
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 | |
with: | |
token: ${{ steps.get_token.outputs.token }} | |
persist-credentials: false | |
fetch-depth: 0 | |
- name: Automatic Rebase | |
uses: cirrus-actions/rebase@b87d48154a87a85666003575337e27b8cd65f691 | |
env: | |
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }} | |