mirror of
https://github.com/certbot/certbot.git
synced 2026-06-11 01:30:14 -04:00
gh api needs github token
This commit is contained in:
parent
bf65074f44
commit
1dc3139fcd
2 changed files with 7 additions and 2 deletions
3
.github/workflows/nightly.yml
vendored
3
.github/workflows/nightly.yml
vendored
|
|
@ -118,6 +118,7 @@ jobs:
|
|||
# jobs, failure() returns true if any ancestor job fails.
|
||||
if: failure() && (needs.re-run.result == 'skipped' || needs.re-run.result == 'failure')
|
||||
uses: "./.github/workflows/notify_nightly.yml"
|
||||
permissions: {}
|
||||
permissions:
|
||||
actions: read
|
||||
secrets:
|
||||
MATTERMOST_PUBLIC_CERTBOT_CHANNEL_WEBHOOK: "${{ secrets.MATTERMOST_PUBLIC_CERTBOT_CHANNEL_WEBHOOK }}"
|
||||
|
|
|
|||
6
.github/workflows/notify_nightly.yml
vendored
6
.github/workflows/notify_nightly.yml
vendored
|
|
@ -6,11 +6,15 @@ on:
|
|||
MATTERMOST_PUBLIC_CERTBOT_CHANNEL_WEBHOOK:
|
||||
required: true
|
||||
|
||||
permissions: {}
|
||||
permissions:
|
||||
actions: read
|
||||
|
||||
jobs:
|
||||
notify_mattermost:
|
||||
name: Notify mattermost
|
||||
runs-on: ubuntu-latest
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
steps:
|
||||
# we pin this action to a version tested and audited by certbot's
|
||||
# maintainers for extra security. the full hash is used as doing so is
|
||||
|
|
|
|||
Loading…
Reference in a new issue