File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change
1
+ name : Set Project End Date on Released
2
+
3
+ on :
4
+ workflow_dispatch : {}
5
+ issues :
6
+ types : [closed]
7
+ pull_request :
8
+ types : [closed]
9
+
10
+ permissions :
11
+ contents : read
12
+ issues : read
13
+ pull-requests : read
14
+
15
+ env :
16
+ PROJECT_URL : https://github.com/orgs/invertase/projects/59
17
+ END_DATE_FIELD : End Date
18
+
19
+ jobs :
20
+ set-end-date :
21
+ runs-on : ubuntu-latest
22
+ steps :
23
+ - name : Today (UTC) in YYYY-MM-DD
24
+ run : echo "TODAY=$(date -u +%F)" >> "$GITHUB_ENV"
25
+
26
+ - name : Set project End Date to today
27
+ uses : EndBug/project-fields@v2
28
+ with :
29
+ operation : set
30
+ github_token : ${{ secrets.PROJECT_PAT }}
31
+ project_url : ${{ env.PROJECT_URL }}
32
+ fields : ${{ env.END_DATE_FIELD }}
33
+ values : ${{ env.TODAY }}
You can’t perform that action at this time.
0 commit comments