diff --git a/.github/workflows/cancel.yml b/.github/workflows/cancel.yml new file mode 100644 index 0000000000..b521fbcd2a --- /dev/null +++ b/.github/workflows/cancel.yml @@ -0,0 +1,17 @@ +name: Cancel +on: + pull_request_target: + types: + - edited + - synchronize + +jobs: + cancel: + name: 'Cancel Previous Runs' + runs-on: ubuntu-latest + timeout-minutes: 2 + steps: + - uses: styfle/cancel-workflow-action@0.11.0 + with: + workflow_id: 44038251 + access_token: ${{ github.token }} diff --git a/.github/workflows/nightly-build.yml b/.github/workflows/nightly-build.yml index 5c91d4b18b..d019068c0b 100644 --- a/.github/workflows/nightly-build.yml +++ b/.github/workflows/nightly-build.yml @@ -58,10 +58,6 @@ jobs: SENTRY_PROJECT: ${{ secrets.SENTRY_PROJECT }} NEXT_PUBLIC_SENTRY_DSN: ${{ secrets.NEXT_PUBLIC_SENTRY_DSN }} SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} - API_SERVER_PROFILE: prod - ENABLE_TEST_PROPERTIES: false - ENABLE_BOOKMARK_OPERATION: true - ENABLE_SQLITE_PROVIDER: false RELEASE_VERSION: ${{ needs.set-build-version.outputs.version }} - name: Upload Artifact (web-static)