-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add organisation-wide workflows and dependabot configuration
- Loading branch information
1 parent
9879cd3
commit 12ff903
Showing
6 changed files
with
85 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,22 @@ | ||
version: 2 | ||
updates: | ||
- package-ecosystem: "github-actions" | ||
reviewers: | ||
- "SituDevelopment/employees" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
|
||
- package-ecosystem: "npm" | ||
reviewers: | ||
- "SituDevelopment/employees" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" | ||
|
||
- package-ecosystem: "pip" | ||
reviewers: | ||
- "SituDevelopment/employees" | ||
directory: "/" | ||
schedule: | ||
interval: "daily" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
bug: | ||
- head-branch: ["bug/*"] | ||
|
||
enhancement: | ||
- head-branch: ["feature/*"] | ||
|
||
dependencies: | ||
- changed-files: | ||
- any-glob-to-any-file: ["package.json", "package-lock.json"] | ||
|
||
documentation: | ||
- changed-files: | ||
- any-glob-to-any-file: ["README.md"] | ||
|
||
github_actions: | ||
- changed-files: | ||
- any-glob-to-any-file: [".github/workflows/*.yaml"] | ||
|
||
javascript: | ||
- changed-files: | ||
- any-glob-to-any-file: [".js", ".ts", "package.json", "package-lock.json", "tsconfig.json"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: Add issues and PRs to projects | ||
|
||
on: | ||
- issues | ||
- pull_request | ||
|
||
jobs: | ||
generic: | ||
uses: SituDevelopment/.github/.github/workflows/add-to-project.yaml@main | ||
secrets: inherit | ||
|
||
internal: | ||
if: github.actor != 'dependabot[bot]' | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
project-url: https://github.com/orgs/SituDevelopment/projects/4 | ||
github-token: ${{ secrets.ADD_TO_PROJECT }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
name: Dependabot Auto Merge | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
auto-merge: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
- uses: ahmadnassri/action-dependabot-auto-merge@v2 | ||
with: | ||
target: minor | ||
github-token: ${{ secrets.DEPENDABOT_AUTO_MERGE }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
name: Label Pull Requests | ||
|
||
on: pull_request | ||
|
||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
jobs: | ||
labeller: | ||
uses: SituDevelopment/.github/.github/workflows/labeller.yaml@main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
name: Status Checks | ||
|
||
on: pull_request | ||
|
||
jobs: | ||
code-style: | ||
uses: SituDevelopment/.github/.github/workflows/check-code-style.yaml@main | ||
|
||
dependencies: | ||
uses: SituDevelopment/.github/.github/workflows/check-dependencies.yaml@main |