Skip to content

Bump gradle/actions from 4.2.0 to 4.2.1 in /.github/workflows #66

Bump gradle/actions from 4.2.0 to 4.2.1 in /.github/workflows

Bump gradle/actions from 4.2.0 to 4.2.1 in /.github/workflows #66

name: 'πŸ’¬ Comment on new issue and PRs'
on:
issues:
types: [opened]
pull_request:
types: [opened]
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
jobs:
comment:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- if: github.event_name == 'issues' && github.actor != 'dependabot[bot]'
run: gh issue comment $ISSUE_NUMBER --body "Thank you for opening this issue!"
env:
ISSUE_NUMBER: ${{ github.event.issue.number }}
- if: github.event_name == 'pull_request' && github.actor != 'dependabot[bot]'
run: gh issue comment $PR_NUMBER --body "Thank you for opening this pull request!"
env:
PR_NUMBER: ${{ github.event.pull_request.number }}