Skip to content

Nightly

Nightly #341

Workflow file for this run

name: Nightly
on:
schedule:
- cron: "0 3 * * *"
workflow_dispatch: ~
permissions: read-all
jobs:
audit:
name: Audit
uses: ericcornelissen/shescape/.github/workflows/reusable-audit.yml@main
with:
refs: '["main", "v1"]'
tooling:
name: Tool update
runs-on: ubuntu-22.04
permissions:
contents: write # To push a commit
pull-requests: write # To open a Pull Request
steps:
- name: Harden runner
uses: step-security/harden-runner@8ca2b8b2ece13480cda6dacd3511b49857a23c09 # v2.5.1
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
actions-results-receiver-production.githubapp.com:443
api.github.com:443
github.com:443
objects.githubusercontent.com:443
- name: Create automation token
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92 # v1.8.0
id: automation-token
with:
app_id: ${{ secrets.AUTOMATION_APP_ID }}
private_key: ${{ secrets.AUTOMATION_APP_PRIVATE_KEY }}
- name: Update tooling
uses: ericcornelissen/tool-versions-update-action/pr@dce7e8e82ec984d2fc6f10169c39b0812f8ab932 # v0.3.3
with:
labels: dependencies
max: 1
token: ${{ steps.automation-token.outputs.token }}