Skip to content
This repository was archived by the owner on May 1, 2025. It is now read-only.

Commit 2001c16

Browse files
authored
Merge pull request #76 from github/jm-github-action-shas-and-pull-request-target-for-releases
chore: use SHAs in GitHub Actions and pull_request_target for releases
2 parents 68ea114 + cda00a7 commit 2001c16

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/release.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,11 @@
88
- closed
99
branches:
1010
- main
11+
pull_request_target:
12+
types:
13+
- closed
14+
branches:
15+
- main
1116

1217
permissions:
1318
contents: read

.github/workflows/stale.yaml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
1-
---
21
name: 'Close stale issues'
32
on:
43
schedule:
54
- cron: '30 1 * * *'
6-
75
permissions:
86
contents: read
9-
107
jobs:
118
stale:
129
runs-on: ubuntu-latest
1310
permissions:
1411
issues: write
1512
pull-requests: read
1613
steps:
17-
- uses: actions/stale@v9
14+
- uses: actions/stale@28ca1036281a5e5922ead5184a1bbf96e5fc984e # v9
1815
with:
1916
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.'
2017
close-issue-message: 'This issue was closed because it has been stalled for 35 days with no activity.'

0 commit comments

Comments
 (0)