From 75c2c31c97a0a9f34c6bb9ed7b1a53d03e41e19c Mon Sep 17 00:00:00 2001 From: Joris Coenen Date: Mon, 3 Jul 2023 18:26:55 +0200 Subject: [PATCH 1/2] Run 1Password/check-signed-commits-action for PRs This will leave a handy comment if a PR contains unsigend commits. --- .github/workflows/pr-check-signed-commits.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .github/workflows/pr-check-signed-commits.yml diff --git a/.github/workflows/pr-check-signed-commits.yml b/.github/workflows/pr-check-signed-commits.yml new file mode 100644 index 0000000..94164af --- /dev/null +++ b/.github/workflows/pr-check-signed-commits.yml @@ -0,0 +1,16 @@ +name: Check signed commits in PR +on: pull_request_target + +jobs: + build: + name: Check signed commits in PR + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - name: Check out code + uses: actions/checkout@v3 + + - name: Check signed commits in PR + uses: 1Password/check-signed-commits-action@v1 From 9d5d2433eaf75e14c234a9361eebd47be4d98b6a Mon Sep 17 00:00:00 2001 From: Joris Coenen Date: Fri, 14 Jul 2023 15:25:43 +0200 Subject: [PATCH 2/2] Remove unnecessary step --- .github/workflows/pr-check-signed-commits.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/pr-check-signed-commits.yml b/.github/workflows/pr-check-signed-commits.yml index 94164af..6b1d1af 100644 --- a/.github/workflows/pr-check-signed-commits.yml +++ b/.github/workflows/pr-check-signed-commits.yml @@ -9,8 +9,5 @@ jobs: pull-requests: write runs-on: ubuntu-latest steps: - - name: Check out code - uses: actions/checkout@v3 - - name: Check signed commits in PR uses: 1Password/check-signed-commits-action@v1