Skip to content

Commit

Permalink
Merge pull request #76 from github/jm-github-action-shas-and-pull-req…
Browse files Browse the repository at this point in the history
…uest-target-for-releases

chore: use SHAs in GitHub Actions and pull_request_target for releases
  • Loading branch information
jmeridth authored May 21, 2024
2 parents 68ea114 + cda00a7 commit 2001c16
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
5 changes: 5 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@
- closed
branches:
- main
pull_request_target:
types:
- closed
branches:
- main

permissions:
contents: read
Expand Down
5 changes: 1 addition & 4 deletions .github/workflows/stale.yaml
Original file line number Diff line number Diff line change
@@ -1,20 +1,17 @@
---
name: 'Close stale issues'
on:
schedule:
- cron: '30 1 * * *'

permissions:
contents: read

jobs:
stale:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: read
steps:
- uses: actions/stale@v9
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
with:
stale-issue-message: 'This issue is stale because it has been open 21 days with no activity. Remove stale label or comment or this will be closed in 14 days.'
close-issue-message: 'This issue was closed because it has been stalled for 35 days with no activity.'
Expand Down

0 comments on commit 2001c16

Please sign in to comment.