summaryrefslogtreecommitdiffstats
path: root/.github
diff options
context:
space:
mode:
authorTomas Mraz <tomas@openssl.org>2021-05-13 12:05:36 +0200
committerTomas Mraz <tomas@openssl.org>2021-05-13 12:05:36 +0200
commitca6197ca3c1a18be004c447cf4bf5a1a40d7dd19 (patch)
tree2731b4baa9b32f2082bee2a9d8391be0eb966167 /.github
parent9ce2ef9ba084ec9548b6d219687b24590f87eb1b (diff)
Ensure the pristine checksums are not recomputed
When switching between the pristine and PR checkouts we must ensure the pristine checksums are not recomputed. Also ignore errors (such as trying to remove a label that is not set) when setting or removing labels. Reviewed-by: Paul Dale <pauli@openssl.org> (Merged from https://github.com/openssl/openssl/pull/15266)
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/checksums.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.github/workflows/checksums.yml b/.github/workflows/checksums.yml
index 3b28d4e23b..5f444b639b 100644
--- a/.github/workflows/checksums.yml
+++ b/.github/workflows/checksums.yml
@@ -38,13 +38,14 @@ jobs:
run: make fips-checksums
working-directory: ./build
- name: update checksums pristine
- run: make update-fips-checksums
+ run: touch providers/fips.checksum.new && make update-fips-checksums
working-directory: ./build-pristine
- name: make diff-fips-checksums
run: make diff-fips-checksums && echo "fips_unchanged=1" >> $GITHUB_ENV || echo "fips_changed=1" >> $GITHUB_ENV
working-directory: ./build
- name: set label
if: ${{ env.fips_changed }}
+ continue-on-error: true
uses: actions/github-script@v4
with:
github-token: ${{secrets.GITHUB_TOKEN}}
@@ -57,6 +58,7 @@ jobs:
})
- name: remove label
if: ${{ env.fips_unchanged }}
+ continue-on-error: true
uses: actions/github-script@v4
with:
github-token: ${{secrets.GITHUB_TOKEN}}