|
6 | 6 | workflow_dispatch: |
7 | 7 | inputs: |
8 | 8 | lookback: |
| 9 | + description: "[DEPRECATED] No longer has any effect" |
9 | 10 | default: "3" |
10 | | -permissions: |
11 | | - actions: read |
12 | | - checks: read |
13 | | - contents: write |
14 | | - deployments: read |
15 | | - issues: read |
16 | | - discussions: read |
17 | | - packages: read |
18 | | - pages: read |
19 | | - pull-requests: read |
20 | | - repository-projects: read |
21 | | - security-events: read |
22 | | - statuses: read |
23 | 11 | jobs: |
24 | 12 | TagBot: |
25 | 13 | if: github.event_name == 'workflow_dispatch' || github.actor == 'JuliaTagBot' |
| 14 | + # ubuntu-slim doesn't support containers, and thus won't work |
26 | 15 | runs-on: ubuntu-latest |
27 | 16 | steps: |
28 | | - - name: Tag GraphNeuralNetworks |
29 | | - uses: JuliaRegistries/TagBot@v1 |
| 17 | + - uses: JuliaRegistries/TagBot@304fc93e4623081443fee5b6317ac73b37923574 # v1.25.8 |
30 | 18 | with: |
31 | 19 | token: ${{ secrets.GITHUB_TOKEN }} |
| 20 | + # For commits that modify workflow files: SSH key enables tagging, but |
| 21 | + # releases require manual creation. For full automation of such commits, |
| 22 | + # use a PAT with `workflow` scope instead of GITHUB_TOKEN. |
| 23 | + # See: https://github.com/JuliaRegistries/TagBot#commits-that-modify-workflow-files |
32 | 24 | ssh: ${{ secrets.DOCUMENTER_KEY }} |
33 | | - subdir: GraphNeuralNetworks |
34 | | - changelog: | |
35 | | - {% if previous_release %} |
36 | | - [Diff since {{ previous_release }}]({{ compare_url }}) |
37 | | - {% endif %} |
38 | | -
|
39 | | - {% if custom %} |
40 | | - {{ custom }} |
41 | | - {% endif %} |
42 | | -
|
43 | | - {% if backport %} |
44 | | - This release has been identified as a backport. |
45 | | - Automated changelogs for backports tend to be wildly incorrect. |
46 | | - Therefore, the list of issues and pull requests is hidden. |
47 | | - <!-- |
48 | | - {% endif %} |
49 | | - {% if pulls %} |
50 | | - **Merged pull requests:** |
51 | | - {% for pull in pulls %} |
52 | | - {% if "gnnlib" in pull.labels or "gnngraphs" in pull.labels or "flux" in pull.labels %} |
53 | | - - {{ pull.title }} (#{{ pull.number }}) (@{{ pull.author.username }}) |
54 | | - {% endif %} |
55 | | - {% endfor %} |
56 | | - {% endif %} |
57 | | -
|
58 | | - {% if issues %} |
59 | | - **Closed issues:** |
60 | | - {% for issue in issues %} |
61 | | - {% if "gnnlib" in issue.labels or "gnngraphs" in issue.labels or "flux" in issue.labels %} |
62 | | - - {{ issue.title }} (#{{ issue.number }}) |
63 | | - {% endif %} |
64 | | - {% endfor %} |
65 | | - {% endif %} |
66 | | -
|
67 | | - {% if backport %} |
68 | | - --> |
69 | | - {% endif %} |
70 | | -
|
71 | | - - name: Tag GNNlib |
72 | | - uses: JuliaRegistries/TagBot@v1 |
73 | | - with: |
74 | | - token: ${{ secrets.GITHUB_TOKEN }} |
75 | | - ssh: ${{ secrets.DOCUMENTER_KEY }} |
76 | | - subdir: GNNlib |
77 | | - changelog: | |
78 | | - {% if previous_release %} |
79 | | - [Diff since {{ previous_release }}]({{ compare_url }}) |
80 | | - {% endif %} |
81 | | -
|
82 | | - {% if custom %} |
83 | | - {{ custom }} |
84 | | - {% endif %} |
85 | | -
|
86 | | - {% if backport %} |
87 | | - This release has been identified as a backport. |
88 | | - Automated changelogs for backports tend to be wildly incorrect. |
89 | | - Therefore, the list of issues and pull requests is hidden. |
90 | | - <!-- |
91 | | - {% endif %} |
92 | | - {% if pulls %} |
93 | | - **Merged pull requests:** |
94 | | - {% for pull in pulls %} |
95 | | - {% if "gnnlib" in pull.labels %} |
96 | | - - {{ pull.title }} (#{{ pull.number }}) (@{{ pull.author.username }}) |
97 | | - {% endif %} |
98 | | - {% endfor %} |
99 | | - {% endif %} |
100 | | -
|
101 | | - {% if issues %} |
102 | | - **Closed issues:** |
103 | | - {% for issue in issues %} |
104 | | - {% if "gnnlib" in issue.labels %} |
105 | | - - {{ issue.title }} (#{{ issue.number }}) |
106 | | - {% endif %} |
107 | | - {% endfor %} |
108 | | - {% endif %} |
109 | | -
|
110 | | - {% if backport %} |
111 | | - --> |
112 | | - {% endif %} |
113 | | -
|
114 | | - - name: Tag GNNGraphs |
115 | | - uses: JuliaRegistries/TagBot@v1 |
116 | | - with: |
117 | | - token: ${{ secrets.GITHUB_TOKEN }} |
118 | | - ssh: ${{ secrets.DOCUMENTER_KEY }} |
119 | | - subdir: GNNGraphs |
120 | | - changelog: | |
121 | | - {% if previous_release %} |
122 | | - [Diff since {{ previous_release }}]({{ compare_url }}) |
123 | | - {% endif %} |
124 | | -
|
125 | | - {% if custom %} |
126 | | - {{ custom }} |
127 | | - {% endif %} |
128 | | -
|
129 | | - {% if backport %} |
130 | | - This release has been identified as a backport. |
131 | | - Automated changelogs for backports tend to be wildly incorrect. |
132 | | - Therefore, the list of issues and pull requests is hidden. |
133 | | - <!-- |
134 | | - {% endif %} |
135 | | - {% if pulls %} |
136 | | - **Merged pull requests:** |
137 | | - {% for pull in pulls %} |
138 | | - {% if "gnngraphs" in pull.labels %} |
139 | | - - {{ pull.title }} (#{{ pull.number }}) (@{{ pull.author.username }}) |
140 | | - {% endif %} |
141 | | - {% endfor %} |
142 | | - {% endif %} |
143 | | -
|
144 | | - {% if issues %} |
145 | | - **Closed issues:** |
146 | | - {% for issue in issues %} |
147 | | - {% if "gnngraphs" in issue.labels %} |
148 | | - - {{ issue.title }} (#{{ issue.number }}) |
149 | | - {% endif %} |
150 | | - {% endfor %} |
151 | | - {% endif %} |
152 | | -
|
153 | | - {% if backport %} |
154 | | - --> |
155 | | - {% endif %} |
156 | | -
|
157 | | - - name: Tag GNNLux |
158 | | - uses: JuliaRegistries/TagBot@v1 |
159 | | - with: |
160 | | - token: ${{ secrets.GITHUB_TOKEN }} |
161 | | - ssh: ${{ secrets.DOCUMENTER_KEY }} |
162 | | - subdir: GNNLux |
163 | | - changelog: | |
164 | | - {% if previous_release %} |
165 | | - [Diff since {{ previous_release }}]({{ compare_url }}) |
166 | | - {% endif %} |
167 | | -
|
168 | | - {% if custom %} |
169 | | - {{ custom }} |
170 | | - {% endif %} |
171 | | -
|
172 | | - {% if backport %} |
173 | | - This release has been identified as a backport. |
174 | | - Automated changelogs for backports tend to be wildly incorrect. |
175 | | - Therefore, the list of issues and pull requests is hidden. |
176 | | - <!-- |
177 | | - {% endif %} |
178 | | - {% if pulls %} |
179 | | - **Merged pull requests:** |
180 | | - {% for pull in pulls %} |
181 | | - {% if "gnnlib" in pull.labels or "gnngraphs" in pull.labels or "lux" in pull.labels %} |
182 | | - - {{ pull.title }} (#{{ pull.number }}) (@{{ pull.author.username }}) |
183 | | - {% endif %} |
184 | | - {% endfor %} |
185 | | - {% endif %} |
186 | | -
|
187 | | - {% if issues %} |
188 | | - **Closed issues:** |
189 | | - {% for issue in issues %} |
190 | | - {% if "gnnlib" in issue.labels or "gnngraphs" in issue.labels or "lux" in issue.labels %} |
191 | | - - {{ issue.title }} (#{{ issue.number }}) |
192 | | - {% endif %} |
193 | | - {% endfor %} |
194 | | - {% endif %} |
195 | | -
|
196 | | - {% if backport %} |
197 | | - --> |
198 | | - {% endif %} |
| 25 | + # ssh: ${{ secrets.NAME_OF_MY_SSH_PRIVATE_KEY_SECRET }} |
| 26 | + # changelog_format: github # 'custom' (default), 'github', or 'conventional' |
0 commit comments