aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/dependabot.yml10
-rw-r--r--.github/workflows/bvt.yaml2
-rw-r--r--.github/workflows/commit-message-check.yaml10
3 files changed, 16 insertions, 6 deletions
diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 0000000..98e44ee
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,10 @@
+version: 2
+updates:
+ - package-ecosystem: "cargo"
+ directory: "/"
+ schedule:
+ interval: "weekly"
+ - package-ecosystem: "github-actions"
+ directory: "/"
+ schedule:
+ interval: "weekly"
diff --git a/.github/workflows/bvt.yaml b/.github/workflows/bvt.yaml
index 78906ec..4a1b681 100644
--- a/.github/workflows/bvt.yaml
+++ b/.github/workflows/bvt.yaml
@@ -5,7 +5,7 @@ jobs:
name: BVT
runs-on: ubuntu-latest
steps:
- - uses: actions/checkout@v2
+ - uses: actions/checkout@v4
- name: install dependencies
run: |
rustup target add x86_64-unknown-linux-musl
diff --git a/.github/workflows/commit-message-check.yaml b/.github/workflows/commit-message-check.yaml
index 4d1c57e..dcdf0ec 100644
--- a/.github/workflows/commit-message-check.yaml
+++ b/.github/workflows/commit-message-check.yaml
@@ -19,12 +19,12 @@ jobs:
steps:
- name: Get PR Commits
id: 'get-pr-commits'
- uses: tim-actions/get-pr-commits@v1.0.0
+ uses: tim-actions/get-pr-commits@v1.3.0
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: DCO Check
- uses: tim-actions/dco@2fd0504dc0d27b33f542867c300c60840c6dcb20
+ uses: tim-actions/dco@v1.1.0
with:
commits: ${{ steps.get-pr-commits.outputs.commits }}
@@ -36,7 +36,7 @@ jobs:
- name: Check Subject Line Length
if: ${{ success() || failure() }}
- uses: tim-actions/commit-message-checker-with-regex@v0.3.1
+ uses: tim-actions/commit-message-checker-with-regex@v0.3.2
with:
commits: ${{ steps.get-pr-commits.outputs.commits }}
pattern: '^.{0,75}(\n.*)*$'
@@ -45,9 +45,9 @@ jobs:
- name: Check Body Line Length
if: ${{ success() || failure() }}
- uses: tim-actions/commit-message-checker-with-regex@v0.3.1
+ uses: tim-actions/commit-message-checker-with-regex@v0.3.2
with:
commits: ${{ steps.get-pr-commits.outputs.commits }}
- pattern: '^.+(\n.{0,72})*$|^.+\n\s*[^a-zA-Z\s\n]|^.+\n\S+$'
+ pattern: '^.+(\n.{0,72})*$|^.+\n\s*[^a-zA-Z\s\n]|^.+\n\S+$|\nSigned-off-by: dependabot\[bot\]'
error: 'Body line too long (max 72)'
post_error: ${{ env.error_msg }}