diff --git a/.github/workflows/check-if.yml b/.github/workflows/check-if.yml new file mode 100644 index 0000000..ccdcd61 --- /dev/null +++ b/.github/workflows/check-if.yml @@ -0,0 +1,22 @@ +name: "Check If" + +on: + workflow_dispatch: + inputs: + cdn: + type: boolean + description: 'Upload assets to CDN' + required: true + default: false + +jobs: + check-if: + runs-on: ubuntu-latest + + steps: + # release assets to CDN + - name: Upload external assets to CDN + if: ${{ github.event.inputs.cdn }} + id: upload-cdn + run: | + echo "Call when cdn true" \ No newline at end of file diff --git a/.github/workflows/monitor-changed-files.yml b/.github/workflows/monitor-changed-files.yml index 7a7aeb7..f2d17fc 100644 --- a/.github/workflows/monitor-changed-files.yml +++ b/.github/workflows/monitor-changed-files.yml @@ -35,5 +35,5 @@ jobs: with: payload: | { - "text": "List all the files that have changed in PR https://github.com/${{github.repository}}/pull/${{ github.event.pull_request.number }}: ${{ steps.changed-files-yaml.outputs.seo_all_changed_files }}" + "text": "@wpe-seo, files that have changed in PR https://github.com/${{github.repository}}/pull/${{ github.event.pull_request.number }}: ${{ steps.changed-files-yaml.outputs.seo_all_changed_files }}" } \ No newline at end of file