Skip to content

Commit

Permalink
fix gh action (#488)
Browse files Browse the repository at this point in the history
* fix gh action

* also trigger action when issues are open
  • Loading branch information
dani-santos-code authored Oct 14, 2022
1 parent fbffa4a commit b0b5d9f
Showing 1 changed file with 19 additions and 6 deletions.
25 changes: 19 additions & 6 deletions .github/workflows/first-interaction.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,19 @@
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Thanks for opening your first issue here! Be sure to follow the issue template!'
pr-message: 'Thanks for opening this pull request! Please check out our [contributing guidelines](https://github.com/Shopify/kubeaudit#Contributing) and [sign the CLA](https://cla.shopify.com/).'
name: Notify new contributors

on:
pull_request:
types:
- opened
issues:
types:
- opened

jobs:
notify:
runs-on: ubuntu-latest
steps:
- uses: actions/first-interaction@v1
with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
issue-message: 'Thanks for opening your first issue here! Be sure to follow the issue template!'
pr-message: 'Thanks for opening this pull request! Please check out our [contributing guidelines](https://github.com/Shopify/kubeaudit#Contributing) and [sign the CLA](https://cla.shopify.com/).'

0 comments on commit b0b5d9f

Please sign in to comment.