Skip to content

Commit

Permalink
Merge pull request #3 from discoverygarden/feature/dependabot
Browse files Browse the repository at this point in the history
TWM-16: Adding dependabot and messaging
  • Loading branch information
nchiasson-dgi authored Aug 17, 2023
2 parents 120e409 + 9624556 commit d0f2ffb
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
9 changes: 9 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
version: 2

updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
ignore:
- dependency-name: "create-issue"
4 changes: 2 additions & 2 deletions .github/workflows/check_dist.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
push:
branches: ['main']
jobs:
cehck-dist:
check-dist:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand All @@ -19,4 +19,4 @@ jobs:
if [[ $(git status --porcelain) ]]; then
echo '::error ::`dist` changed, please update dist by running `npm run package`'
exit 1
fi
fi
22 changes: 22 additions & 0 deletions .github/workflows/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
---
name: Dependabot Pull-Request Ticket
on: pull_request

jobs:
dependabot:
runs-on: ubuntu-latest
if: ${{ github.actor == 'dependabot[bot]' }}
steps:
- name: Create Issue
uses: discoverygarden/create-issue@v1
with:
project: SEC
summary: "[${{ github.repository }}] Workflow version update"
description: |
Update to github actions workflow.
transition: "Request QA Review"
deployment-instructions: "N/A"
jira-url: ${{ secrets.JIRA_BASE_URL }}
jira-user: ${{ secrets.JIRA_USER_EMAIL }}
jira-token: ${{ secrets.JIRA_API_TOKEN }}
slack-webhook: ${{ secrets.FEED_WORKFLOW_WEBHOOK }}

0 comments on commit d0f2ffb

Please sign in to comment.