Add OSS guidline documentation #1
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
| on: | |
| # Manual run with parameter for what to do | |
| workflow_dispatch: | |
| inputs: | |
| command: | |
| required: false | |
| type: choice | |
| options: | |
| - --delete | |
| - --seed-all | |
| # Automatic run when this is first created from a template | |
| push: | |
| branches: | |
| - main | |
| paths: | |
| - .github/workflows/.run-once | |
| permissions: | |
| issues: write | |
| contents: read | |
| jobs: | |
| seed_issues: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/[email protected] | |
| - run: ./prepare-lab-env.sh $OPTION | |
| shell: bash | |
| working-directory: .github/scripts | |
| env: | |
| OPTION: ${{ inputs.command }} | |
| GH_TOKEN: ${{ github.token }} |