GHA: set concurrency, set cooldown for Dependabot #1291
Workflow file for this run
This file contains hidden or 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
| # Copyright (C) Daniel Stenberg, <[email protected]>, et al. | |
| # | |
| # SPDX-License-Identifier: curl | |
| name: perlcheck | |
| 'on': | |
| # Trigger the workflow on push or pull requests, but only for the | |
| # master branch | |
| push: | |
| branches: | |
| - master | |
| - '*/ci' | |
| pull_request: | |
| branches: | |
| - master | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }} | |
| cancel-in-progress: true | |
| permissions: {} | |
| jobs: | |
| perlcheck: | |
| name: 'perlcheck' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: install prereqs | |
| run: | | |
| sudo rm -f /var/lib/man-db/auto-update | |
| sudo apt-get -o Dpkg::Use-Pty=0 install libcgi-pm-perl libstring-crc32-perl | |
| - uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0 | |
| with: | |
| persist-credentials: false | |
| - name: perlcheck | |
| run: make perlcheck |