Skip to content

Commit

Permalink
feat: test if boolean type (#7)
Browse files Browse the repository at this point in the history
* fix: mention related team

* feat: test if boolean type
  • Loading branch information
prakasa-tkpd authored Nov 23, 2023
1 parent fa309ca commit 8eee8aa
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 1 deletion.
22 changes: 22 additions & 0 deletions .github/workflows/check-if.yml
Original file line number Diff line number Diff line change
@@ -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"
2 changes: 1 addition & 1 deletion .github/workflows/monitor-changed-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }}"
}

0 comments on commit 8eee8aa

Please sign in to comment.