add pause metric in prometheus for scaledobject #6025
Workflow file for this run
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
name: FOSSA | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
branches: [main] | |
env: | |
fossa-key: 9e722f2c8904586d61f97f0bf05a99e4 # This is a public key only for pushing, it's safe here | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
cancel-in-progress: true | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4 | |
- uses: actions/setup-go@93397bea11091df50f3d7e59dc26a7711a8bcfbe # v4 | |
with: | |
go-version: "1.20" | |
- run: go version | |
- name: Get branch name | |
id: branch-name | |
uses: tj-actions/branch-names@v7 | |
- uses: fossas/fossa-action@main | |
name: Scanning with FOSSA | |
with: | |
api-key: ${{ env.fossa-key }} | |
branch: ${{ steps.branch-name.outputs.current_branch }} | |
- uses: fossas/fossa-action@main | |
name: Executing tests with FOSSA | |
with: | |
api-key: ${{ env.fossa-key }} | |
run-tests: true |