Chall7: Skip it: ##[add-mask]ue #19
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: 🔒 Chall 5 - Look mom, without flag | |
| on: | |
| issues: | |
| jobs: | |
| test: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - if: ${{ github.secret_source == 'Actions' }} | |
| name: Check that flag is present | |
| run: | | |
| echo "I got a flag, but you dont" | |
| - name: Unsafe right ? | |
| run: | | |
| echo Body: ${{ github.event.issue.body }} | |
| - if: ${{ github.secret_source == 'None' }} | |
| name: But whatever, you will not see it! | |
| run: | | |
| echo ${{ secrets.FLAG5 }} |