diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 360f505b12..cbb1194f36 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -10,6 +10,9 @@ on: pull_request: branches: [ main, maint-1.3 ] +concurrency: + group: ${{ github.workflow }}-${{ github.event.number || github.run_id }} + cancel-in-progress: true # A workflow run is made up of one or more jobs that can run sequentially or in parallel jobs: @@ -22,7 +25,7 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 with: submodules: recursive @@ -55,7 +58,7 @@ jobs: - name: Install Deps run: dnf install -y cmake git procps-ng dbus-devel libacl-devel libblkid-devel libcap-devel libcurl-devel libgcrypt-devel libselinux-devel libxml2-devel libxslt-devel libattr-devel make openldap-devel pcre2-devel perl-XML-Parser perl-XML-XPath perl-devel python3-devel python3-dbusmock rpm-devel swig bzip2-devel gcc-c++ libyaml-devel xmlsec1-devel xmlsec1-openssl-devel hostname bzip2 lua rpm-build which strace python3-pytest - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v6 with: submodules: recursive - name: Build @@ -78,7 +81,7 @@ jobs: - name: Install Deps run: dnf install -y cmake git procps-ng dbus-devel libacl-devel libblkid-devel libcap-devel libcurl-devel nss-devel libselinux-devel libxml2-devel libxslt-devel libattr-devel make openldap-devel pcre2-devel perl-XML-Parser perl-XML-XPath perl-devel python3-devel python3-dbusmock rpm-devel swig bzip2-devel gcc-c++ libyaml-devel xmlsec1-devel xmlsec1-openssl-devel hostname bzip2 lua rpm-build which strace python3-pytest - name: Checkout - uses: actions/checkout@v3 + uses: actions/checkout@v6 with: submodules: recursive - name: Build @@ -100,7 +103,7 @@ jobs: # Steps represent a sequence of tasks that will be executed as part of the job steps: # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it - - uses: actions/checkout@v3 + - uses: actions/checkout@v6 # Runs a single command using the runners shell - name: Install Deps diff --git a/.github/workflows/codeql.yml b/.github/workflows/codeql.yml index 21d00a1293..d49d6d200f 100644 --- a/.github/workflows/codeql.yml +++ b/.github/workflows/codeql.yml @@ -5,10 +5,14 @@ on: branches: [ 'maint-1.3', 'maint-1.2', 'main' ] pull_request: # The branches below must be a subset of the branches above - branches: [ 'maint-1.3' ] + branches: [ 'maint-1.3', 'main' ] schedule: - cron: '32 17 * * 0' +concurrency: + group: ${{ github.workflow }}-${{ github.event.number || github.run_id }} + cancel-in-progress: true + jobs: analyze: name: Analyze @@ -27,7 +31,7 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v6 - name: Install Deps run: |