File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,12 +40,13 @@ jobs:
4040 days-before-issue-stale : 90
4141 days-before-issue-close : 21
4242 steps :
43- - uses : conda/actions/read-yaml @7f6830b1428a9bd47f0b068892c77eae95207037 # v26.1.0
44- id : read_yaml
43+ - uses : conda/actions/read-file @7f6830b1428a9bd47f0b068892c77eae95207037 # v26.1.0
44+ id : read_messages
4545 with :
4646 path : https://raw.githubusercontent.com/conda/infra/main/.github/messages.yml
47+ parser : yaml
4748
48- - uses : actions/stale@eb5cf3af3ac0a1aa4c9c45633dd1ae542a27a899 # v10.3 .0
49+ - uses : actions/stale@1e223db275d687790206a7acac4d1a11bd6fe629 # v10.4 .0
4950 id : stale
5051 with :
5152 # Only issues with these labels are checked whether they are stale
6162 days-before-pr-close : 30
6263
6364 # Comment on the staled issues
64- stale-issue-message : ${{ fromJSON(steps.read_yaml .outputs.value )['stale-issue'] }}
65+ stale-issue-message : ${{ fromJSON(steps.read_messages .outputs.content )['stale-issue'] }}
6566 # Label to apply on staled issues
6667 stale-issue-label : stale
6768 # Label to apply on closed issues
7071 close-issue-reason : not_planned
7172
7273 # Comment on the staled PRs
73- stale-pr-message : ${{ fromJSON(steps.read_yaml .outputs.value )['stale-pr'] }}
74+ stale-pr-message : ${{ fromJSON(steps.read_messages .outputs.content )['stale-pr'] }}
7475 # Label to apply on staled PRs
7576 stale-pr-label : stale
7677 # Label to apply on closed PRs
You can’t perform that action at this time.
0 commit comments