[Project Submission] Cyby-Sec #29
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
| name: Step 9, Complete Quest - Templates | |
| on: | |
| workflow_dispatch: | |
| issues: | |
| types: [opened] | |
| permissions: | |
| contents: write | |
| issues: write | |
| jobs: | |
| update_step_on_complete_quest: | |
| if: | | |
| github.event.issue.title == 'Quest: I want a Production-Ready Template to customize' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout repository | |
| uses: actions/checkout@v4 | |
| - name: Update to step 10 | |
| uses: skills/action-update-step@v2 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| from_step: 9 | |
| to_step: 10 | |
| - name: Comment and close issue | |
| uses: peter-evans/close-issue@v3 | |
| with: | |
| comment: | | |
| 🎉 Congratulations! You've completed the Templates quest. Your progress has been updated and you can now continue to the next step. | |
| 👉 [Go to the main README to continue](../README.md) |