mirror of
https://github.com/magicbug/Cloudlog
synced 2024-11-21 15:56:30 +00:00
26 lines
688 B
YAML
26 lines
688 B
YAML
|
name: Accessibility-alt-text-bot
|
||
|
on:
|
||
|
issues:
|
||
|
types: [opened, edited]
|
||
|
pull_request:
|
||
|
types: [opened, edited]
|
||
|
issue_comment:
|
||
|
types: [created, edited]
|
||
|
discussion:
|
||
|
types: [created, edited]
|
||
|
discussion_comment:
|
||
|
types: [created, edited]
|
||
|
|
||
|
permissions:
|
||
|
issues: write
|
||
|
pull-requests: write
|
||
|
discussions: write
|
||
|
|
||
|
jobs:
|
||
|
accessibility_alt_text_bot:
|
||
|
name: Check alt text is set on issue or pull requests
|
||
|
runs-on: ubuntu-latest
|
||
|
if: ${{ github.event.issue || github.event.pull_request || github.event.discussion }}
|
||
|
steps:
|
||
|
- name: Get action 'github/accessibility-alt-text-bot'
|
||
|
uses: github/accessibility-alt-text-bot@v1.2.0 # Set to latest
|