Skip to content

Commit

Permalink
fix: update all files (#4)
Browse files Browse the repository at this point in the history
* fix: update all files

* fix: add info PR numb

* fix: add PR numb in message

* fix: add slack hook from secret
  • Loading branch information
prakasa-tkpd authored Nov 6, 2023
1 parent bec91cf commit 911623f
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 7 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/monitor-changed-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,17 @@ jobs:
uses: tj-actions/changed-files@v40
with:
files_yaml_from_source_file: .github/files-in-observation.yml

- name: Run step if test file(s) change
# if: steps.changed-files-yaml.outputs.seo_any_changed == 'true'
id: get-payload
if: steps.changed-files-yaml.outputs.seo_any_changed == 'true'
run: |
echo "One or more SEO file(s) has changed."
echo "List all the files that have changed: ${{ steps.changed-files-yaml.outputs.seo_all_changed_files }}"
echo ::set-output name=slack_payload::'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 }}'
- name: Send Slack Notification
uses: slackapi/slack-github-action@007b2c3c751a190b6f0f040e47ed024deaa72844
env:
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_HOOK }}
with:
payload: ${{ steps.get-payload.outputs.slack_payload }}
2 changes: 1 addition & 1 deletion domain/var/backup.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
User-agent: *
Allow: *
Allow: asudhasdsa
Allow: /.well-known/
Disallow: /*.pl
4 changes: 2 additions & 2 deletions domain/var/human.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
User-agent: *
Allow: *
Allow: /.well-known/
Disallow: /*.pl
Allow: /.well-known/ada
Disallow: /*.plasdad
2 changes: 1 addition & 1 deletion domain/var/robots.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
User-agent: *
Allow: *
Allow: *asda
Allow: /.well-known/
Disallow: /*.pl

0 comments on commit 911623f

Please sign in to comment.