From 9718afd194290228e225a81126988394d167bf7a Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Tue, 11 Apr 2023 09:30:15 +0200 Subject: [PATCH 1/2] ci: don't run release wf on `systemd-security` --- .github/workflows/make_release.yml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.github/workflows/make_release.yml b/.github/workflows/make_release.yml index c789d33f16..7875f231fe 100644 --- a/.github/workflows/make_release.yml +++ b/.github/workflows/make_release.yml @@ -9,11 +9,13 @@ permissions: contents: read jobs: - build: + release: + if: github.repository == 'systemd/systemd' || github.repository == 'systemd/systemd-stable' runs-on: ubuntu-latest + permissions: contents: write - if: ${{ github.repository_owner == 'systemd' }} + steps: - name: Checkout uses: actions/checkout@v3 From 19cdda7c3a37362df602b3bfd1d2b949cc1f3598 Mon Sep 17 00:00:00 2001 From: Jan Macku Date: Tue, 11 Apr 2023 09:33:46 +0200 Subject: [PATCH 2/2] ci: drop checkout from release workflow It's not required as per comment - https://github.com/systemd/systemd/pull/27110#issuecomment-1499653913 --- .github/workflows/make_release.yml | 2 -- 1 file changed, 2 deletions(-) diff --git a/.github/workflows/make_release.yml b/.github/workflows/make_release.yml index 7875f231fe..9902a6c6ab 100644 --- a/.github/workflows/make_release.yml +++ b/.github/workflows/make_release.yml @@ -17,8 +17,6 @@ jobs: contents: write steps: - - name: Checkout - uses: actions/checkout@v3 - name: Release uses: softprops/action-gh-release@de2c0eb89ae2a093876385947365aca7b0e5f844 with: