Update .gitignore #3
This file contains 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
name: Grading workflow | |
on: | |
push: | |
paths: | |
- ".gitignore" | |
workflow_dispatch: | |
jobs: | |
grade-learner: | |
if: github.event_name == 'push' | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Grade gitignore activity | |
id: events | |
uses: ./.github/actions/gitignore-parser-action | |
- name: Grading results | |
uses: githubtraining/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
feedback: ${{ steps.events.outputs.reports }} | |
troubleshoot-activity: | |
if: github.event_name == 'workflow_dispatch' | |
runs-on: ubuntu-latest | |
steps: | |
- name: troubleshooting steps | |
run: echo "If you're stuck, this documentation may be helpful; https://git-scm.com/docs/gitignore" |