⬆️upgrade(ci): Bump step-security/harden-runner from 2.2.0 to 2.10.2 in /.github/workflows #116
Workflow file for this run
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 - Pull Request | ||
on: | ||
pull_request: | ||
types: [ opened, reopened ] | ||
permissions: | ||
contents: read | ||
pull-requests: write | ||
jobs: | ||
# More info: https://github.com/GitGuardian/ggshield-action | ||
gitguardian: | ||
name: GitGuardian Scanner | ||
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@0080882f6c36860b6ba35c610c98ce87d4e2f26f | ||
with: | ||
disable-sudo: true | ||
egress-policy: block | ||
allowed-endpoints: > | ||
api.gitguardian.com:443 | ||
github.com:443 | ||
- name: Checkout & Authentication | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||
with: | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
- name: GitGuardian Scanner | ||
uses: GitGuardian/gg-shield-action@0ebefb9aad794cfe4ea98897204db50e20ad5a00 | ||
with: | ||
args: -v --all-policies | ||
env: | ||
GITHUB_PUSH_BEFORE_SHA: ${{ github.event.before }} | ||
GITHUB_PUSH_BASE_SHA: ${{ github.event.before }} | ||
GITHUB_PULL_BASE_SHA: ${{ github.event.pull_request.base.sha }} | ||
GITHUB_DEFAULT_BRANCH: ${{ github.event.repository.default_branch }} | ||
GITGUARDIAN_API_KEY: ${{ secrets.GITGUARDIAN_API_KEY }} | ||
# More info: https://github.com/actions/dependency-review-action | ||
dependency-review: | ||
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@0080882f6c36860b6ba35c610c98ce87d4e2f26f | ||
with: | ||
egress-policy: audit | ||
# More info: https://github.com/actions/checkout. | ||
- name: Checkout & Authentication | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||
with: | ||
fetch-depth: 0 | ||
# More info: https://github.com/actions/dependency-review-action | ||
- name: Dependency Review | ||
uses: actions/dependency-review-action@0659a74c94536054bfa5aeb92241f70d680cc78e | ||
with: | ||
config-file: './.github/config/workflows/dependency-review.yml' | ||
# More info: https://github.com/AlbertHernandez/working-label-action | ||
working_label: | ||
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@0080882f6c36860b6ba35c610c98ce87d4e2f26f | ||
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@8e4e6fbf6fcc8a272781d97597969d21b3812974 | ||
with: | ||
application_id: ${{ secrets.ID_WORKLABELBOT }} | ||
application_private_key: ${{ secrets.ID_WORKLABELBOT }} | ||
# More info: https://github.com/actions/checkout. | ||
- name: Checkout & Authentication | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||
with: | ||
token: ${{ steps.get_token.outputs.token }} | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
# More info: https://github.com/AlbertHernandez/working-label-action | ||
- name: Working Label | ||
uses: AlbertHernandez/working-label-action@398809d95be33f8f631c0f02e1d0e8cd8fbf8e73 | ||
with: | ||
work_in_progress_label: 'type:🚧chore' | ||
ready_to_review_label: 'status:⌛awaiting-review' | ||
env: | ||
GITHUB_TOKEN: ${{ steps.get_token.outputs.token }} | ||
Check failure on line 108 in .github/workflows/pullrequest.yml GitHub Actions / Pipeline - Pull RequestInvalid workflow file
|
||
# More info: https://github.com/pineapplelol/emojify-pr-title | ||
emojify-pr-title: | ||
runs-on: ubuntu-latest | ||
needs: [gitguardian] | ||
steps: | ||
# More info: https://github.com/step-security/harden-runner. | ||
- name: Harden Runner | ||
id: harden_runner | ||
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f | ||
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@8e4e6fbf6fcc8a272781d97597969d21b3812974 | ||
with: | ||
application_id: ${{ secrets.ID_EMOJIFYBOT }} | ||
application_private_key: ${{ secrets.PEM_EMOJIFYBOT }} | ||
# More info: https://github.com/actions/checkout. | ||
- name: Checkout & Authentication | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||
with: | ||
token: ${{ steps.get_token.outputs.token }} | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
- name: Emojify PR Title | ||
uses: pineapplelol/emojify-pr-title@a380b02ff04e737a60066bcd0a8c45f1f7a1a709 | ||
with: | ||
use-fuzzy: false | ||
use-emoji-map: true | ||
emoji-map: 'https://raw.githubusercontent.com/wr-projects/github-template/main/.github/config/workflows/emoji_mapping.json' | ||
require-space: true | ||
# More info: https://github.com/hiwelo/new-dependencies-action | ||
check_new_dependencies: | ||
runs-on: ubuntu-latest | ||
needs: [gitguardian] | ||
steps: | ||
# More info: https://github.com/step-security/harden-runner. | ||
- name: Harden Runner | ||
id: harden_runner | ||
uses: step-security/harden-runner@0080882f6c36860b6ba35c610c98ce87d4e2f26f | ||
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@8e4e6fbf6fcc8a272781d97597969d21b3812974 | ||
with: | ||
application_id: ${{ secrets.ID_CHECKDEPSBOT }} | ||
application_private_key: ${{ secrets.PEM_CHECKDEPSBOT }} | ||
# More info: https://github.com/actions/checkout. | ||
- name: Checkout & Authentication | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 | ||
with: | ||
token: ${{ steps.get_token.outputs.token }} | ||
persist-credentials: false | ||
fetch-depth: 0 | ||
- name: Check for new dependencies | ||
uses: hiwelo/new-dependencies-action@e4175e14484328f9ab56df91e420e90ad5031c08 |