discord_wiki.yaml 707 B

123456789101112131415161718192021222324
  1. # Part of the Carbon Language project, under the Apache License v2.0 with LLVM
  2. # Exceptions. See /LICENSE for license information.
  3. # SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
  4. name: Discord Wiki Change Notifications
  5. on: gollum
  6. # Minimum permissions.
  7. permissions:
  8. contents: read
  9. jobs:
  10. notify:
  11. runs-on: ubuntu-latest
  12. steps:
  13. - name: Harden Runner
  14. uses: step-security/harden-runner@58077d3c7e43986b6b15fba718e8ea69e387dfcc # v2.15.1
  15. with:
  16. egress-policy: audit
  17. - uses: oznu/gh-wiki-edit-discord-notification@1f5b688c27310fba606368b20469c81f5ffd9a2f # v1.0.0
  18. with:
  19. discord-webhook-url: ${{ secrets.DISCORD_WEBHOOK_WIKI_EDIT }}