Disable tests that are failing because of resize2fs
kernel bug
#9128
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: Commits | |
on: | |
pull_request: | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} | |
cancel-in-progress: true | |
permissions: | |
contents: read | |
jobs: | |
commits: | |
name: Branch target and CLA | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check branch target | |
env: | |
TARGET: ${{ github.event.pull_request.base.ref }} | |
TITLE: ${{ github.event.pull_request.title }} | |
if: ${{ github.actor != 'dependabot[bot]' }} | |
run: | | |
set -eux | |
TARGET_FROM_PR_TITLE="$(echo "${TITLE}" | sed -n 's/.*(\(stable-[0-9]\+\.[0-9]\+\))$/\1/p')" | |
if [ -z "${TARGET_FROM_PR_TITLE}" ]; then | |
TARGET_FROM_PR_TITLE="main" | |
else | |
echo "Branch target overridden from PR title" | |
fi | |
[ "${TARGET}" = "${TARGET_FROM_PR_TITLE}" ] && exit 0 | |
echo "Invalid branch target: ${TARGET} != ${TARGET_FROM_PR_TITLE}" | |
exit 1 | |
- name: Check if CLA signed | |
uses: canonical/has-signed-canonical-cla@main |