Skip to content

Commit

Permalink
revert workflow to normal file changes
Browse files Browse the repository at this point in the history
  • Loading branch information
TRohit20 committed Feb 16, 2024
1 parent 6103c86 commit 2dc56fd
Showing 1 changed file with 8 additions and 16 deletions.
24 changes: 8 additions & 16 deletions .github/workflows/notify-docs-triagers.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,20 @@
name: Notify Docs-triagers

on:
pull_request:
push:
branches:
- master

jobs:
Notify-triagers:
runs-on: ubuntu-latest
steps:
- name: Checkout Repository
uses: actions/checkout@v4
with:
fetch-depth: 2
- name: Get all changed files
id: changed-files
uses: tj-actions/[email protected]
with:
files: |
*.md
- name: Create Comment on Pull request
if: steps.changed-files.outputs.files_changed != ''
- name: Check PR Changes
id: pr-changes
run: echo "::set-output name=changes::${{ toJson(github.event.pull_request.changed_files) }}"

- name: Create Comment
if: steps.pr-changes.outputs.changes != '[]'
uses: mshick/[email protected]
with:
message: "This is a test comment to check workflow for docs changes"
repo-token: ${{secrets.GH_TOKEN}}
message: "This is a test comment to check workflow"
repo-token: ${{secrets.GH_TOKEN}}

0 comments on commit 2dc56fd

Please sign in to comment.