Compare commits

...

2 Commits

Author SHA1 Message Date
shirou b7c02adb2d
Merge pull request #1799 from mmorel-35/worflows-concurrency
chore: reduce number of executed jobs
2 weeks ago
Matthieu MOREL f04c791e79 chore: reduce number of executed jobs
Signed-off-by: Matthieu MOREL <matthieu.morel35@gmail.com>
2 weeks ago

@ -1,5 +1,15 @@
on: [push, pull_request]
name: Build Test name: Build Test
on:
push:
branches:
- master
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read

@ -1,6 +1,7 @@
name: "Pull Request Labeler" name: "Pull Request Labeler"
on: on:
- pull_request_target pull_request_target:
permissions: permissions:
contents: read contents: read
@ -12,6 +13,6 @@ jobs:
pull-requests: write # for actions/labeler to add labels to PRs pull-requests: write # for actions/labeler to add labels to PRs
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594 # v4.3.0 - uses: actions/labeler@ac9175f8a1f3625fd0d4fb234536d26811351594 # v4.3.0
with: with:
repo-token: "${{ secrets.GITHUB_TOKEN }}" repo-token: "${{ secrets.GITHUB_TOKEN }}"

@ -2,8 +2,14 @@ name: Golangci-lint
on: on:
push: push:
branches:
- master
pull_request: pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read

@ -1,8 +1,9 @@
name: Release
on: on:
schedule: schedule:
- cron: '0 1 1 * *' # UTC 01:00 on the first day of the Month - cron: '0 1 1 * *' # UTC 01:00 on the first day of the Month
name: Release
permissions: permissions:
contents: write contents: write

@ -2,8 +2,8 @@ name: SBOM Generator
on: on:
push: push:
branches: [ "master" ] branches:
- master
workflow_dispatch: workflow_dispatch:
permissions: read-all permissions: read-all
@ -11,10 +11,8 @@ permissions: read-all
jobs: jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- uses: advanced-security/sbom-generator-action@6fe43abf522b2e7a19bc769aec1e6c848614b517 # v0.0.2 - uses: advanced-security/sbom-generator-action@6fe43abf522b2e7a19bc769aec1e6c848614b517 # v0.0.2
id: sbom id: sbom
env: env:

@ -1,5 +1,15 @@
on: [push, pull_request]
name: Shellcheck name: Shellcheck
on:
push:
branches:
- master
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read
@ -8,6 +18,6 @@ jobs:
name: Shellcheck name: Shellcheck
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
- name: Run ShellCheck - name: Run ShellCheck
uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # v2.0.0 uses: ludeeus/action-shellcheck@00cae500b08a931fb5698e11e79bfbd38e612a38 # v2.0.0

@ -1,5 +1,15 @@
on: [push, pull_request]
name: Test name: Test
on:
push:
branches:
- master
pull_request:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
permissions: permissions:
contents: read contents: read

Loading…
Cancel
Save