From ca6197ca3c1a18be004c447cf4bf5a1a40d7dd19 Mon Sep 17 00:00:00 2001 From: Tomas Mraz Date: Thu, 13 May 2021 12:05:36 +0200 Subject: 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 (Merged from https://github.com/openssl/openssl/pull/15266) --- .github/workflows/checksums.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to '.github') 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}} -- cgit v1.2.3