Added baseline submission #7
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: Check star for a prompt challenge submission | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
is-stargazer: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: dorny/[email protected] | |
id: changes | |
with: | |
filters: | | |
src: | |
- 'session_2/challenge/submissions/**' | |
- uses: gacts/[email protected] | |
id: check-star | |
- if: ${{ (steps.changes.outputs.src == 'true') && (steps.check-star.outputs.is-stargazer != 'true') }} | |
uses: actions/github-script@v6 | |
with: | |
script: core.setFailed('⭐ Please, star this repository!') |