Created
June 4, 2022 19:40
-
-
Save mat-0/e6d5982d24d35530bebfef157d76aff1 to your computer and use it in GitHub Desktop.
Revisions
-
mat-0 created this gist
Jun 4, 2022 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,21 @@ name: Add Item on: issues: types: [labeled, edited] jobs: Validation: runs-on: ubuntu-latest if: contains(github.event.issue.labels.*.name, "labelname" ) outputs: labelname: ${{ steps.validation.outputs.labelname }} steps: - name: Set Data id: validation run: echo "::set-output name=labelname::labelname" Execution: needs: Validation name: Runner uses: ./.github/workflows/runner.yml with: content: ${{ github.event.issue.body }} label: ${{ needs.Validation.outputs.labelname }}