Skip to content

Commit 7ab4d17

Browse files
committed
test update-consul-versions
1 parent 5733ec4 commit 7ab4d17

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/nudge.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ on:
55
workflows: [CI,CodeQL]
66
types: [completed]
77
branches: [master]
8-
8+
workflow_dispatch:
99

1010
jobs:
1111
nudge:
1212
runs-on: ubuntu-latest
1313
environment: nudge
1414
steps:
1515
- name: Send notification
16-
uses: pavlovic-ivan/octo-nudge@v1
16+
uses: pavlovic-ivan/octo-nudge@v2
1717
with:
1818
webhooks: ${{ secrets.NUDGE_WEBHOOKS }}

.github/workflows/update-consul-versions.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
name: "Update Consul versions"
22

33
on:
4+
workflow_dispatch:
45
schedule:
56
- cron: '22 2 * * *' # Run once per day, at a randomly chosen time.
67

@@ -30,7 +31,7 @@ jobs:
3031
installation_id=$(curl -s -H "Accept: application/vnd.github.v3+json" -H "Authorization: Bearer $jwt" https://api.github.com/app/installations | jq '.[] | select(.account.login == "${{ github.repository_owner }}") | .id')
3132
token=$(curl -s -X POST -H "Accept: application/vnd.github.v3+json" -H "Authorization: Bearer $jwt" https://api.github.com/app/installations/$installation_id/access_tokens | jq -r '.token')
3233
echo "::add-mask::$token"
33-
echo "::set-output name=token::$token"
34+
echo "token=$token" >> $GITHUB_OUTPUT
3435
3536
- name: Install PowerShellForGitHub
3637
shell: pwsh

0 commit comments

Comments
 (0)