From a3bc85ff8552034e7b088b5c525f8382a22d54df Mon Sep 17 00:00:00 2001 From: Noel Chiasson Date: Mon, 7 Aug 2023 11:46:59 -0300 Subject: [PATCH 1/2] TWM-16: Updating with dependency update messaging --- .github/workflows/dependabot.yml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .github/workflows/dependabot.yml 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 }} From 0cb533fe3384fbaa1907b943a4a4c12c7f7f702e Mon Sep 17 00:00:00 2001 From: Noel Chiasson Date: Wed, 9 Aug 2023 12:47:25 -0300 Subject: [PATCH 2/2] Updating semver, ignoring internal actions. --- .github/dependabot.yml | 4 ++++ .github/workflows/semver.yml | 4 ---- 2 files changed, 4 insertions(+), 4 deletions(-) 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/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 }}