diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 81bae9a..094a1b1 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -5,3 +5,7 @@ updates: directory: "/" schedule: interval: "daily" + ignore: + - dependency-name: "auto-semver" + - dependency-name: "CodeSniffer" + - dependency-name: "create-issue" diff --git a/.github/workflows/dependabot.yml b/.github/workflows/dependabot.yml new file mode 100644 index 0000000..ec4c678 --- /dev/null +++ b/.github/workflows/dependabot.yml @@ -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 }} diff --git a/.github/workflows/semver.yml b/.github/workflows/semver.yml index 9226a3a..fddb435 100644 --- a/.github/workflows/semver.yml +++ b/.github/workflows/semver.yml @@ -9,9 +9,5 @@ jobs: if: github.event.pull_request.merged == true runs-on: ubuntu-latest steps: - - name: Checkout Repo - uses: actions/checkout@v3 - name: Run Auto Semver uses: discoverygarden/auto-semver@v1 - with: - token: ${{ secrets.GITHUB_TOKEN }}