Skip to content

Commit

Permalink
Remove Action for workflow canceling (#90)
Browse files Browse the repository at this point in the history
It's a security risk since its third party and we give it a GitHub token
so it can do things with our Actions. CI here runs infrequently so it's
not a big waste.
  • Loading branch information
leouieda authored Feb 19, 2025
1 parent b93fcbf commit cd0a681
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 14 deletions.
7 changes: 0 additions & 7 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,13 +37,6 @@ jobs:
PYTHON: "3.13"

steps:
# Cancel any previous run of the test job
# We pin the commit hash corresponding to v0.5.0, and not pinning the tag
# because we are giving full access through the github.token.
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

# Checks-out your repository under $GITHUB_WORKSPACE
- name: Checkout
Expand Down
8 changes: 1 addition & 7 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ jobs:
python: "3.9"
- dependencies: latest
python: "3.13"
# Run once without caching the datasets to make sure everything works
- os: ubuntu
python: "3.13"
dependencies: latest
Expand All @@ -62,13 +63,6 @@ jobs:
DEPENDENCIES: ${{ matrix.dependencies }}

steps:
# Cancel any previous run of the test job
# We pin the commit hash corresponding to v0.5.0, and not pinning the tag
# because we are giving full access through the github.token.
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}

# Checks-out your repository under $GITHUB_WORKSPACE
- name: Checkout
Expand Down

0 comments on commit cd0a681

Please sign in to comment.