Skip to content

Commit

Permalink
Merge #37
Browse files Browse the repository at this point in the history
37: ci: Preliminary support for GitHub merge queues r=blampe a=blampe

It occurred to me that `@AaronFriel` had setup this repo to test Bors. It would make sense to also use it as a guinea pig for merge queues before landing pulumi/pulumi#13681.

Co-authored-by: Bryce Lampe <bryce@pulumi.com>
  • Loading branch information
bors[bot] and blampe committed Aug 9, 2023
2 parents bae2913 + 182e86d commit 7f2d9f1
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-lint.yml
Expand Up @@ -22,5 +22,5 @@ jobs:
- run: |
# These vars are format strings.
# shellcheck disable=SC2016
go run github.com/rhysd/actionlint/cmd/actionlint@v1.6.15 \
go run github.com/rhysd/actionlint/cmd/actionlint@v1.6.25 \
-format '{{range $err := .}}::error file={{$err.Filepath}},line={{$err.Line}},col={{$err.Column}}::{{$err.Message}}%0A```%0A{{replace $err.Snippet "\\n" "%0A"}}%0A```\n{{end}}' -ignore 'SC2016:'
9 changes: 5 additions & 4 deletions .github/workflows/ci.yml
@@ -1,6 +1,7 @@
name: Merge

on:
merge_group:
push:
branches:
- staging
Expand Down Expand Up @@ -30,11 +31,11 @@ jobs:
./.github/scripts/set-output version "${VERSION}"
- name: Install git-cliff
uses: baptiste0928/cargo-install@bf6758885262d0e6f61089a9d8c8790d3ac3368f # v1.3.0
uses: baptiste0928/cargo-install@v2
with:
crate: git-cliff
args: --git https://github.com/AaronFriel/git-cliff --rev 702c79236ef0b0a3d2430f73902db3339933fbfd
version: 0.8.1
git: https://github.com/AaronFriel/git-cliff
commit: 702c79236ef0b0a3d2430f73902db3339933fbfd
- name: Extract release notes
id: notes
shell: bash
Expand Down Expand Up @@ -120,7 +121,7 @@ jobs:
name: Publish
needs: [test-ok, version-check, info]
uses: ./.github/workflows/ci-publish.yml
if: ${{ github.ref_name == 'staging' }}
if: github.ref_name == 'staging' || github.event_name == 'merge_group'
with:
version: ${{ needs.info.outputs.version }}
release_notes: ${{ needs.info.outputs.release_notes }}
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-check-commit-changelog.yml
Expand Up @@ -25,11 +25,11 @@ jobs:
with:
fetch-depth: 0
- name: Install git-cliff
uses: baptiste0928/cargo-install@bf6758885262d0e6f61089a9d8c8790d3ac3368f # v1.3.0
uses: baptiste0928/cargo-install@v2
with:
crate: git-cliff
args: --git https://github.com/AaronFriel/git-cliff --rev 702c79236ef0b0a3d2430f73902db3339933fbfd
version: 0.8.1
git: https://github.com/AaronFriel/git-cliff
commit: 702c79236ef0b0a3d2430f73902db3339933fbfd
- name: Changelog
id: changelog
env:
Expand Down

0 comments on commit 7f2d9f1

Please sign in to comment.