diff --git a/.github/dependabot.yml b/.github/dependabot.yml index b90da37a..ff56268c 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -7,6 +7,8 @@ updates: day: sunday time: '22:00' timezone: Etc/UTC + cooldown: + default-days: 7 open-pull-requests-limit: 5 groups: minor-and-patch: diff --git a/.github/workflows/l10n-lint.yml b/.github/workflows/l10n-lint.yml index bea4f928..007af8b1 100644 --- a/.github/workflows/l10n-lint.yml +++ b/.github/workflows/l10n-lint.yml @@ -24,5 +24,7 @@ jobs: steps: - name: Checkout uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1 + with: + persist-credentials: false - name: Check l10n catalogs for duplicate keys run: make test-l10n diff --git a/.github/workflows/lint-pr-title.yml b/.github/workflows/lint-pr-title.yml index ee7e019e..b34856c0 100644 --- a/.github/workflows/lint-pr-title.yml +++ b/.github/workflows/lint-pr-title.yml @@ -7,9 +7,15 @@ on: - edited - synchronize +permissions: + contents: read + jobs: lint: runs-on: ubuntu-latest + permissions: + contents: read + pull-requests: read steps: - uses: amannn/action-semantic-pull-request@48f256284bd46cdaab1048c3721360e808335d50 # v6.1.1 env: diff --git a/.github/workflows/zizmor.yml b/.github/workflows/zizmor.yml new file mode 100644 index 00000000..7829c845 --- /dev/null +++ b/.github/workflows/zizmor.yml @@ -0,0 +1,30 @@ +name: Zizmor + +on: + push: + branches: + - master + pull_request: + types: + - opened + - synchronize + - reopened + schedule: + # Weekly: online audits (known-vulnerable actions, impostor commits) can + # start failing without a code change. + - cron: '0 4 * * 1' + workflow_dispatch: + +permissions: + contents: read + +# Only pull request runs cancel each other: a push to the default branch and +# the weekly run share a ref, and neither should cancel the other. +concurrency: + group: zizmor-${{ github.ref }} + cancel-in-progress: ${{ github.event_name == 'pull_request' }} + +jobs: + zizmor: + name: Zizmor + uses: owncloud/reusable-workflows/.github/workflows/zizmor.yml@main