mirror of
https://github.com/kubernetes-sigs/external-dns.git
synced 2026-05-04 22:26:11 +02:00
follow the OpenSSF recommendations for github permissions (#6378)
Signed-off-by: Raffaele Di Fazio <raffo@github.com>
This commit is contained in:
parent
5dd6e9339b
commit
51995b83f4
2
.github/workflows/codeql-analysis.yaml
vendored
2
.github/workflows/codeql-analysis.yaml
vendored
@ -10,6 +10,8 @@ on:
|
||||
- cron: '35 13 * * 5'
|
||||
workflow_dispatch:
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
analyze:
|
||||
name: Analyze
|
||||
|
||||
7
.github/workflows/dependency-update.yaml
vendored
7
.github/workflows/dependency-update.yaml
vendored
@ -8,14 +8,15 @@ on:
|
||||
# once a day
|
||||
- cron: '0 0 * * *'
|
||||
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
update-versions-with-renovate:
|
||||
runs-on: ubuntu-latest
|
||||
if: github.repository == 'kubernetes-sigs/external-dns'
|
||||
permissions:
|
||||
contents: write
|
||||
pull-requests: write
|
||||
steps:
|
||||
- name: checkout
|
||||
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
||||
|
||||
2
.github/workflows/gh-workflow-approve.yaml
vendored
2
.github/workflows/gh-workflow-approve.yaml
vendored
@ -8,6 +8,8 @@ on:
|
||||
branches:
|
||||
- master
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
approve:
|
||||
name: Approve ok-to-test
|
||||
|
||||
2
.github/workflows/lint.yaml
vendored
2
.github/workflows/lint.yaml
vendored
@ -4,6 +4,8 @@ on:
|
||||
pull_request:
|
||||
branches: [ master ]
|
||||
|
||||
permissions: {}
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
name: Markdown and Go
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user