Skip to content

Commit

Permalink
[draft]: Added dependabot.yml config file
Browse files Browse the repository at this point in the history
* Append commit message prefix with skip ci initially.
  We shall review PR then figure whether proceed trigger
  running ci build or skip otherwise.
  • Loading branch information
victorskl committed Aug 15, 2024
1 parent 296eb2e commit d6461c0
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 4 deletions.
8 changes: 8 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# See https://github.com/umccr/orcabus/issues/455

version: 2
updates:
- package-ecosystem: npm
directory: "/"
commit-message:
prefix: "[draft]"
9 changes: 5 additions & 4 deletions .github/workflows/prbuild.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ on:
- reopened
- synchronize
- ready_for_review
- edited
branches:
- main

Expand All @@ -40,7 +41,7 @@ env:
jobs:
pre-commit-lint-security:
runs-on: ubuntu-latest
if: ${{ !github.event.pull_request.draft }}
if: ${{ !github.event.pull_request.draft || !contains(github.event.pull_request.title, '[draft]') }}
steps:
- name: Print toolchain versions
run: |
Expand Down Expand Up @@ -80,7 +81,7 @@ jobs:
# The format: `runs-on: codebuild-<project-name>-${{ github.run_id }}-${{ github.run_attempt }}`
# https://docs.aws.amazon.com/codebuild/latest/userguide/action-runner.html
runs-on: codebuild-orcabus-codebuild-gh-runner-${{ github.run_id }}-${{ github.run_attempt }}
if: ${{ !github.event.pull_request.draft }}
if: ${{ !github.event.pull_request.draft || !contains(github.event.pull_request.title, '[draft]') }}
steps:
- name: Print toolchain versions
run: |
Expand Down Expand Up @@ -109,7 +110,7 @@ jobs:
# The format: `runs-on: codebuild-<project-name>-${{ github.run_id }}-${{ github.run_attempt }}`
# https://docs.aws.amazon.com/codebuild/latest/userguide/action-runner.html
runs-on: codebuild-orcabus-codebuild-gh-runner-${{ github.run_id }}-${{ github.run_attempt }}
if: ${{ !github.event.pull_request.draft }}
if: ${{ !github.event.pull_request.draft || !contains(github.event.pull_request.title, '[draft]') }}
steps:
- name: Print toolchain versions
run: |
Expand All @@ -135,7 +136,7 @@ jobs:
# The format: `runs-on: codebuild-<project-name>-${{ github.run_id }}-${{ github.run_attempt }}`
# https://docs.aws.amazon.com/codebuild/latest/userguide/action-runner.html
runs-on: codebuild-orcabus-codebuild-gh-runner-${{ github.run_id }}-${{ github.run_attempt }}
if: ${{ !github.event.pull_request.draft }}
if: ${{ !github.event.pull_request.draft || !contains(github.event.pull_request.title, '[draft]') }}
steps:
- name: Print toolchain versions
run: |
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,4 @@ skel/
docs/
openapi/
venv/
.github/

0 comments on commit d6461c0

Please sign in to comment.