Merge pull request #168 from tsickert/tsickert/v6

v6 Cleanup
This commit is contained in:
Thomas Sickert 2024-04-05 05:59:08 -04:00 committed by GitHub
commit 86dc739f3f
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 1 additions and 27 deletions

View file

@ -1,26 +0,0 @@
name: Execute Filtered GitHub Webhook
on:
pull_request:
types:
- opened
- closed
- reopened
jobs:
notify_if_not_dependabot:
if: ${{ !contains(github.event.pull_request.user.login, 'dependabot') }}
runs-on: ubuntu-latest
steps:
- name: Discord Webhook Action
uses: ./
with:
webhook-url: ${{ secrets.DISCORD_WEBHOOK_URL }}
username: GitHub
avatar-url: "https://cdn.discordapp.com/avatars/999680196040982618/df91181b3f1cf0ef1592fbe18e0962d7.webp"
embed-author-name: ${{ github.event.pull_request.user.login }}
embed-author-url: ${{ github.event.pull_request.user.html_url }}
embed-author-icon-url: ${{ github.event.pull_request.user.avatar_url }}
embed-title: '[${{ github.event.repository.full_name }}] Pull request ${{ github.event.action }}: #${{ github.event.number }} ${{ github.event.pull_request.title }}'
embed-description: ${{ github.event.pull_request.body }}
embed-url: ${{ github.event.pull_request.html_url }}

View file

@ -6,7 +6,7 @@ module.exports = {
'^.+\\.ts$': 'ts-jest'
},
transformIgnorePatterns: [
'node_modules/(?!(axios)/)' // add this line
'node_modules/(?!(axios)/)'
],
verbose: true
}