Skip to content

Commit

Permalink
Hotfix for automation workflows
Browse files Browse the repository at this point in the history
Merge pull request #11 from iamwatchdogs/hotfix
  • Loading branch information
iamwatchdogs authored Oct 18, 2024
2 parents 5bc3f94 + 73bae23 commit ebca0f6
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 9 deletions.
6 changes: 5 additions & 1 deletion .github/workflows/auto-assigner.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
name: Auto Assign

on:
pull_request:
pull_request_target:
types: [opened, ready_for_review]
issues:
types: [opened]

permissions:
issues: write
pull-requests: write

jobs:
auto-assign:
runs-on: ubuntu-latest
Expand Down
12 changes: 5 additions & 7 deletions .github/workflows/auto-commentor.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
name: Auto-commenter

on:
pull_request:
branches: [main]
types: [closed]
pull_request_target:
types: [opened, closed]

permissions:
id-token: write
Expand All @@ -17,14 +16,13 @@ jobs:
- uses: wow-actions/auto-comment@v1
with:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

pullRequestOpened: |
👋 @{{ author }}
Thank you for raising your pull request.
Please make sure you have followed our contributing guidelines. We will review it as soon as possible.
pullRequestClosed: >
👋 @{{ author }} This PR is closed. If you think there's been a mistake, please contact with the maintainer @iamwatchdogs.
pullRequestClosed: |
👋 @{{ author }} This PR is closed. If you think there's been a mistake, please contact the maintainer @iamwatchdogs.
pullRequestMerged: |
Thank you for contributing @{{ author }}, Make sure to check your contribution on [GitHub Pages](grow-with-open-source.github.io/Notebook/ "view contributions").
Thank you for contributing @{{ author }}. Make sure to check your contribution on [GitHub Pages](https://grow-with-open-source.github.io/Notebook/ "view contributions").
7 changes: 6 additions & 1 deletion .github/workflows/auto-labeler.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,14 @@
name: hacktoberfest-labeler

on:
pull_request:
pull_request_target:
types: [opened, reopened, closed]


permissions:
contents: read
pull-requests: write

jobs:
auto-labeler:
runs-on: ubuntu-latest
Expand Down

0 comments on commit ebca0f6

Please sign in to comment.