Skip to content

⬆️upgrade(ci): Bump step-security/harden-runner #272

⬆️upgrade(ci): Bump step-security/harden-runner

⬆️upgrade(ci): Bump step-security/harden-runner #272

Workflow file for this run

# SPDX-FileCopyrightText: 2022 WebReady Projects <https://github.com/wr-projects/>
#
# SPDX-License-Identifier: MIT
---
name: Pipeline - Autoupdate
on: push
permissions:
contents: read
checks: read
pull-requests: write
jobs:
# More info: https://github.com/tibdex/auto-update.
Auto:
name: Auto-update
runs-on: ubuntu-latest
if: ${{ !startsWith(github.head_ref, 'dependabot/') }}
steps:
# More info: https://github.com/step-security/harden-runner.
- name: Harden Runner
id: harden_runner
uses: step-security/harden-runner@91182cccc01eb5e619899d80e4e971d6181294a7
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
api.github.com:443
github.com:443
# 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_AUTOUPDATEBOT }}
application_private_key: ${{ secrets.PEM_AUTOUPDATEBOT }}
# 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: Autoupdate
uses: tibdex/auto-update@4081c5bdc34560b58288a010318054e63e6f4a51
#with:
#github_token: ${{ steps.get_token.outputs.token }}