Skip password auth tests if not supported by LXD #95
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 | |
permissions: | |
contents: read | |
jobs: | |
target-branch: | |
permissions: | |
contents: none | |
name: Branch target | |
runs-on: ubuntu-22.04 | |
steps: | |
- name: Check branch target | |
env: | |
TARGET: ${{ github.event.pull_request.base.ref }} | |
run: | | |
set -x | |
[ "${TARGET}" = "main" ] && exit 0 | |
echo "Invalid branch target: ${TARGET}" | |
exit 1 |