Skip to content

Commit

Permalink
update tokens
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Turrado <[email protected]>
  • Loading branch information
JorTurFer committed Dec 15, 2024
1 parent a315f5e commit d8aaaf7
Show file tree
Hide file tree
Showing 10 changed files with 37 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/auto-add-issues-to-project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
issues:
types:
- opened

permissions:
contents: read

jobs:
track_issue:
runs-on: ubuntu-latest
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/fossa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ on:
pull_request:
branches: [main]

permissions:
contents: read

env:
fossa-key: 9e722f2c8904586d61f97f0bf05a99e4 # This is a public key only for pushing, it's safe here

Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/main-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
push:
branches:
- main
permissions:
contents: read

jobs:
build:
name: build
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/nightly-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ on:
schedule:
- cron: "0 0 * * *"

permissions:
contents: read

jobs:
validate:
uses: kedacore/keda/.github/workflows/template-main-e2e-test.yml@main
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/pr-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,9 @@ jobs:
if: always()

validate-dockerfiles:
permissions:
contents: read # for dorny/paths-filter to fetch a list of changed files
pull-requests: read # for dorny/paths-filter to read pull requests
name: validate-dockerfiles - ${{ matrix.name }}
runs-on: ${{ matrix.runner }}
container: ghcr.io/kedacore/keda-tools:1.23.3
Expand Down Expand Up @@ -106,6 +109,9 @@ jobs:
run: make docker-build

validate-dev-container:
permissions:
contents: read # for dorny/paths-filter to fetch a list of changed files
pull-requests: read # for dorny/paths-filter to read pull requests
name: Validate dev-container - ${{ matrix.name }}
runs-on: ${{ matrix.runner }}
container: ghcr.io/kedacore/keda-tools:1.23.3
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/release-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
push:
tags:
- "v*"

permissions:
contents: read

jobs:
build:
name: Push Release
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/static-analysis-codeql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ on:
branches: ["main"]
pull_request: {}

permissions: # added using https://github.com/step-security/secure-repo
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/template-smoke-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ on:
kindImage:
required: true
type: string

permissions:
contents: read

jobs:
smoke-tests:
name: Validate k8s-${{ inputs.kubernetesVersion }}
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/template-trivy-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ on:
required: true
type: boolean

permissions:
contents: read

jobs:
trivy-scan:
name: Trivy - ${{ inputs.runs-on }} - ${{ inputs.scan-type }} ${{ inputs.image-ref }}
Expand Down
4 changes: 4 additions & 0 deletions .github/workflows/v1-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ on:
push:
branches:
- v1

permissions:
contents: read

jobs:
validate:
name: Validate
Expand Down

0 comments on commit d8aaaf7

Please sign in to comment.