-
Notifications
You must be signed in to change notification settings - Fork 48
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backports and pin down dependencies (v2-edge) (#490)
Backports the entire delta from `main` into `v2-edge`. Also pins down the Micro* deps for docs, pipeline and go. Closes #374.
- Loading branch information
Showing
42 changed files
with
953 additions
and
922 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,36 @@ | ||
name: Commits | ||
on: | ||
- pull_request | ||
pull_request: | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }}-${{ github.event_name }} | ||
cancel-in-progress: true | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
commits: | ||
name: Canonical CLA signed | ||
runs-on: ubuntu-22.04 | ||
name: Branch target and CLA | ||
runs-on: ubuntu-latest | ||
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/.*(\(v[0-9]-\(edge\|candidate\)\))$/\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 | ||
uses: canonical/has-signed-canonical-cla@046337b42822b7868ad62970988929c79f9c1d40 # 1.2.3 |
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
Oops, something went wrong.