From: Tomas Mraz Date: Thu, 13 May 2021 10:05:36 +0000 (+0200) Subject: Ensure the pristine checksums are not recomputed X-Git-Tag: openssl-3.0.0-alpha17~135 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca6197ca3c1a18be004c447cf4bf5a1a40d7dd19;p=thirdparty%2Fopenssl.git 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) --- diff --git a/.github/workflows/checksums.yml b/.github/workflows/checksums.yml index 3b28d4e23b1..5f444b639b3 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}}