Skip to content

Commit

Permalink
Update labels-events.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Moises6669 authored Oct 10, 2023
1 parent 363857b commit decf1ad
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/labels-events.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,25 @@ on:
# type: string
# required: false

jobs:
test-label-01:
name: test-label-01
if: ${{ (contains(github.event.pull_request.labels.*.name, 'label-test') && github.event.action == 'labeled') || (contains(github.event.pull_request.labels.*.name, 'label-test') && github.event.action == 'synchronize') }}
uses: ./.github/workflows/build-and-test.yml
with:
working_directory: 'Apps/Consumer/Shoproll'
secrets:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
# jobs:
# test-label-01:
# name: test-label-01
# if: ${{ (contains(github.event.pull_request.labels.*.name, 'label-test') && github.event.action == 'labeled') || (contains(github.event.pull_request.labels.*.name, 'label-test') && github.event.action == 'synchronize') }}
# uses: ./.github/workflows/build-and-test.yml
# with:
# working_directory: 'Apps/Consumer/Shoproll'
# secrets:
# SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}

test-label-02:
name: Test label
if: ${{ contains(fromJSON('["label-test1", "label-test"]'), github.event.label.name) }}
runs-on: macos-12
steps:
- name: ${{ github.event.label.name || (github.event.label.name != github.event.label.name) }}
run: |
echo ${{ github.event.pull_request.labels.*.name }}
echo ${{ github.event.label.name }}
# test-label-02:
# name: Test label
# if: ${{ contains(fromJSON('["label-test1", "label-test"]'), github.event.label.name) }}
# runs-on: macos-12
# steps:
# - name: ${{ github.event.label.name || (github.event.label.name != github.event.label.name) }}
# run: |
# echo ${{ github.event.pull_request.labels.*.name }}
# echo ${{ github.event.label.name }}

# - name: Git clone
# uses: actions/checkout@v3
Expand Down

0 comments on commit decf1ad

Please sign in to comment.