Feedback - Possible typo in lesson "Using the Media Library" #9672
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # This was based on https://docs.github.com/en/actions/managing-issues-and-pull-requests/commenting-on-an-issue-when-a-label-is-added | |
| name: Add the applicable content development checklist based on a command in the comment | |
| on: | |
| issue_comment: | |
| types: created | |
| # types: [created, edited] <= Use this if we want the workflow to run when a comment is edited, too | |
| # Disable permissions for all available scopes by default. | |
| # Any needed permissions should be configured at the job level. | |
| permissions: {} | |
| jobs: | |
| tutorial-issue: | |
| if: ${{ contains(github.event.comment.body, '//tutorial') }} | |
| permissions: | |
| issues: write # Required to comment on issues and add labels | |
| uses: ./.github/workflows/comment-with-checklist.yml | |
| with: | |
| content-type: 'tutorial' | |
| online-workshop-issue: | |
| if: ${{ contains(github.event.comment.body, '//online-workshop') }} | |
| permissions: | |
| issues: write # Required to comment on issues and add labels | |
| uses: ./.github/workflows/comment-with-checklist.yml | |
| with: | |
| content-type: 'online-workshop' | |
| lesson-plan-issue: | |
| if: ${{ contains(github.event.comment.body, '//lesson-plan') }} | |
| permissions: | |
| issues: write # Required to comment on issues and add labels | |
| uses: ./.github/workflows/comment-with-checklist.yml | |
| with: | |
| content-type: 'lesson-plan' | |
| course-issue: | |
| if: ${{ contains(github.event.comment.body, '//course') }} | |
| permissions: | |
| issues: write # Required to comment on issues and add labels | |
| uses: ./.github/workflows/comment-with-checklist.yml | |
| with: | |
| content-type: 'course' | |
| lesson-issue: | |
| if: ${{ contains(github.event.comment.body, '//lesson') }} | |
| permissions: | |
| issues: write # Required to comment on issues and add labels | |
| uses: ./.github/workflows/comment-with-checklist.yml | |
| with: | |
| content-type: 'lesson' |