forked from kedacore/keda
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Use pinned version for all the pending tasks (kedacore#6410)
* fix: Use pinned version for all the pending tasks Signed-off-by: Jorge Turrado <[email protected]> * update tokens Signed-off-by: Jorge Turrado <[email protected]> --------- Signed-off-by: Jorge Turrado <[email protected]> Signed-off-by: Jorge Turrado <[email protected]>
- Loading branch information
Showing
12 changed files
with
57 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,10 @@ on: | |
issues: | ||
types: | ||
- opened | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
track_issue: | ||
runs-on: ubuntu-latest | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,12 +69,15 @@ jobs: | |
run: make test | ||
|
||
- name: Create test Summary | ||
uses: test-summary/action@v2 | ||
uses: test-summary/action@31493c76ec9e7aa675f1585d3ed6f1da69269a86 # v2.4 | ||
with: | ||
paths: "report.xml" | ||
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 | ||
|
@@ -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 | ||
|
@@ -146,7 +152,7 @@ jobs: | |
go-version: "1.23" | ||
- name: Get golangci | ||
run: curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin v1.61.0 | ||
- uses: pre-commit/[email protected].0 | ||
- uses: pre-commit/action@2c7b3805fd2a0fd8c1884dcaebf91fc102a13ecd # v3.0.1 | ||
|
||
trivy-scan: | ||
uses: kedacore/keda/.github/workflows/template-trivy-scan.yml@main | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,10 @@ on: | |
push: | ||
tags: | ||
- "v*" | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
build: | ||
name: Push Release | ||
|
@@ -44,7 +48,7 @@ jobs: | |
run: go mod tidy -compat=1.23 | ||
|
||
- name: Login to GitHub Container Registry | ||
uses: docker/login-action@v3 | ||
uses: docker/login-action@9780b0c442fbb1117ed29e0efdff1e18412f7567 # v3.3.0 | ||
with: | ||
# Username used to log in to a Docker registry. If not set then no login will occur | ||
username: ${{ github.repository_owner }} | ||
|
@@ -63,7 +67,7 @@ jobs: | |
VERSION: ${{ steps.get_version.outputs.VERSION }} | ||
|
||
- name: Set up Docker Buildx | ||
uses: docker/setup-buildx-action@v3 | ||
uses: docker/setup-buildx-action@c47758b77c9736f4b2ef4073d4d51994fabfe349 # v3.7.1 | ||
|
||
- name: Publish KEDA images on GitHub Container Registry | ||
run: make publish-multiarch | ||
|
@@ -72,7 +76,7 @@ jobs: | |
|
||
# https://github.com/sigstore/cosign-installer | ||
- name: Install Cosign | ||
uses: sigstore/cosign-installer@v3 | ||
uses: sigstore/cosign-installer@dc72c7d5c4d10cd6bcb8cf6e3fd625a9e5e537da # v3.7.0 | ||
|
||
- name: Check Cosign install! | ||
run: cosign version | ||
|
@@ -87,7 +91,7 @@ jobs: | |
# Get release information to determine id of the current release | ||
- name: Get Release | ||
id: get-release-info | ||
uses: bruceadams/[email protected] | ||
uses: bruceadams/get-release@74c3d60f5a28f358ccf241a00c9021ea16f0569f # v1.3.2 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,6 +12,10 @@ on: | |
kindImage: | ||
required: true | ||
type: string | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
smoke-tests: | ||
name: Validate k8s-${{ inputs.kubernetesVersion }} | ||
|
@@ -35,7 +39,7 @@ jobs: | |
fetch-depth: 1 | ||
|
||
- name: Create k8s ${{ inputs.kubernetesVersion }} Kind Cluster | ||
uses: helm/[email protected] | ||
uses: helm/kind-action@0025e74a8c7512023d06dc019c617aa3cf561fde # v1.10.0 | ||
with: | ||
node_image: ${{ inputs.kindImage }} | ||
cluster_name: smoke-tests-cluster-${{ inputs.kubernetesVersion }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,10 @@ on: | |
push: | ||
branches: | ||
- v1 | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
validate: | ||
name: Validate | ||
|