From 2f1dc0c9886db0a3e3b5b2fc0fda477cb34f6f88 Mon Sep 17 00:00:00 2001 From: Everett Hildenbrandt Date: Sun, 4 May 2025 13:37:51 +0000 Subject: [PATCH 1/2] .github/test: remove tests on master --- .github/workflows/test.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index e5a10f9..f847326 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -2,8 +2,6 @@ name: 'Test' on: pull_request: branches: [ "master" ] - push: - branches: [ "master" ] workflow_dispatch: concurrency: group: ${{ github.workflow }}-${{ github.ref }} From d3c4015d220ccdf23d2f9001bd8a87fe0bc7b017 Mon Sep 17 00:00:00 2001 From: Everett Hildenbrandt Date: Sun, 4 May 2025 13:47:46 +0000 Subject: [PATCH 2/2] .github/master: publish updates to dependents --- .github/workflows/master.yml | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/workflows/master.yml diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml new file mode 100644 index 0000000..94aaa44 --- /dev/null +++ b/.github/workflows/master.yml @@ -0,0 +1,32 @@ +name: 'Master Release' +on: + push: + branches: [ "master" ] + workflow_dispatch: +concurrency: + group: ${{ github.workflow }}-${{ github.ref }} + cancel-in-progress: true + +env: + CARGO_TERM_COLOR: always + +jobs: + update-deps: + name: "Update Dependents" + steps: + - name: 'Check out code' + uses: actions/checkout@v4 + with: + ref: ${{ github.event.push.head.sha }} + fetch-depth: 0 + - name: 'Update dependents' + run: | + set -x + VERSION=${{ github.event.push.head.sha }} + curl --fail \ + -X POST \ + -H "Accept: application/vnd.github+json" \ + -H "Authorization: Bearer ${{ secrets.JENKINS_GITHUB_PAT }}" \ + -H "X-GitHub-Api-Version: 2022-11-28" \ + https://api.github.com/repos/runtimeverification/devops/dispatches \ + -d '{"event_type":"on-demand-test","client_payload":{"repo":"runtimeverification/stable-mir-json","version":"'${VERSION}'"}}'