File tree 2 files changed +16
-6
lines changed
2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -614,10 +614,21 @@ jobs:
614
614
needs :
615
615
- native-image
616
616
if : ${{ (github.ref_name == 'main' || github.ref_name == 'release') && !github.event.act }}
617
+ concurrency : publish-${{ github.ref_name }}-release # https://docs.github.com/en/actions/reference/workflow-syntax-for-github-actions#jobsjob_idconcurrency
617
618
618
619
steps :
620
+ - name : " Show: GitHub context"
621
+ env :
622
+ GITHUB_CONTEXT : ${{ toJSON(github) }}
623
+ run : echo $GITHUB_CONTEXT
624
+
625
+
626
+ - name : " Show: environment variables"
627
+ run : env | sort
628
+
629
+
619
630
- name : Git Checkout
620
- # only required by "hub release create" to prevent "fatal: Not a git repository"
631
+ # only required by "gh release create" to prevent "fatal: Not a git repository"
621
632
uses : actions/checkout@v4 # https://github.com/actions/checkout
622
633
623
634
@@ -649,6 +660,7 @@ jobs:
649
660
run : |
650
661
GH_DEBUG=1 gh release delete "$RELEASE_NAME" --yes --cleanup-tag || true
651
662
663
+
652
664
- name : " Create '${{ steps.release.outputs.name }}' Release"
653
665
env :
654
666
GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
@@ -671,6 +683,7 @@ jobs:
671
683
artifacts/copycat-windows-amd64.exe#copycat-$RELEASE_NAME-windows-amd64.exe \
672
684
artifacts/copycat-windows-amd64-upx.exe#copycat-$RELEASE_NAME-windows-amd64-upx.exe
673
685
686
+
674
687
- name : " Delete intermediate build artifacts"
675
688
uses : geekyeggo/delete-artifact@v5 # https://github.com/GeekyEggo/delete-artifact/
676
689
with :
Original file line number Diff line number Diff line change @@ -3,12 +3,11 @@ name: Stale issues
3
3
4
4
on :
5
5
schedule :
6
- - cron : ' 0 16 * * 1 '
6
+ - cron : ' 0 15 1,15 * * '
7
7
workflow_dispatch :
8
8
# https://github.blog/changelog/2020-07-06-github-actions-manual-triggers-with-workflow_dispatch/
9
9
10
10
permissions :
11
- contents : write # only for delete-branch option
12
11
issues : write
13
12
pull-requests : write
14
13
23
22
- name : Run stale action
24
23
uses : actions/stale@v9 # https://github.com/actions/stale
25
24
with :
26
- repo-token : ${{ secrets.GITHUB_TOKEN }}
27
25
days-before-stale : 90
28
26
days-before-close : 14
29
27
stale-issue-message : >
38
36
pinned
39
37
security
40
38
41
- - name : Run stale action
39
+ - name : Run stale action (for enhancements)
42
40
uses : actions/stale@v9 # https://github.com/actions/stale
43
41
with :
44
- repo-token : ${{ secrets.GITHUB_TOKEN }}
45
42
days-before-stale : 360
46
43
days-before-close : 14
47
44
stale-issue-message : >
You can’t perform that action at this time.
0 commit comments