Skip to content

Commit 2d0ecfe

Browse files
Migration to Github actions
1 parent 9a09177 commit 2d0ecfe

File tree

6 files changed

+58
-78
lines changed

6 files changed

+58
-78
lines changed

.github/dependabot.yml

+13-25
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,15 @@
11
version: 2
22
updates:
3-
- package-ecosystem: docker
4-
directory: "/"
5-
schedule:
6-
interval: daily
7-
open-pull-requests-limit: 10
8-
- package-ecosystem: gomod
9-
directory: "/tests"
10-
schedule:
11-
interval: weekly
12-
open-pull-requests-limit: 10
13-
- package-ecosystem: terraform
14-
directory: "/tests/cross_account"
15-
schedule:
16-
interval: daily
17-
open-pull-requests-limit: 10
18-
- package-ecosystem: terraform
19-
directory: "/tests/share"
20-
schedule:
21-
interval: daily
22-
open-pull-requests-limit: 10
23-
- package-ecosystem: terraform
24-
directory: "/"
25-
schedule:
26-
interval: daily
27-
open-pull-requests-limit: 10
3+
# Maintain dependencies for GitHub Actions
4+
- package-ecosystem: github-actions
5+
directory: /
6+
schedule:
7+
interval: weekly
8+
ignore:
9+
- dependency-name: "actions/checkout"
10+
update-types: ["version-update:semver-major"]
11+
# Maintain dependencies for dockerfiles
12+
- package-ecosystem: docker
13+
directory: /
14+
schedule:
15+
interval: weekly

.github/workflows/lint.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Run lint and static analyis checks
2+
on:
3+
pull_request:
4+
5+
concurrency:
6+
group: lint-${{ github.head_ref || github.ref }}
7+
cancel-in-progress: true
8+
9+
jobs:
10+
lint:
11+
uses: plus3it/actions-workflows/.github/workflows/lint.yml@2cd3620aa18aa840bd92e788978ad08d6663a0d4

.github/workflows/release.yml

+19
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
name: Create GitHub Release
2+
3+
on:
4+
# Run on demand
5+
workflow_dispatch:
6+
7+
# Run on push to main when .bumpversion.cfg version is updated
8+
push:
9+
branches:
10+
- main
11+
- master
12+
paths:
13+
- .bumpversion.cfg
14+
15+
jobs:
16+
release:
17+
uses: plus3it/actions-workflows/.github/workflows/release.yml@2cd3620aa18aa840bd92e788978ad08d6663a0d4
18+
secrets:
19+
release-token: ${{ secrets.GH_RELEASES_TOKEN }}

.github/workflows/test.yml

+11
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
name: Run test jobs
2+
on:
3+
pull_request:
4+
5+
concurrency:
6+
group: test-${{ github.head_ref || github.ref }}
7+
cancel-in-progress: true
8+
9+
jobs:
10+
test:
11+
uses: plus3it/actions-workflows/.github/workflows/test.yml@2cd3620aa18aa840bd92e788978ad08d6663a0d4

.mergify.yml

+4-6
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
pull_request_rules:
2-
- name: automatic approve dependabot pull requests
2+
- name: approve dependabot pull requests
33
conditions:
4-
- author~=dependabot\[bot\]|dependabot-preview\[bot\]
5-
- status-success=Travis CI - Pull Request
6-
- label!=terraform
4+
- author=dependabot[bot]
75
actions:
86
review:
97
type: APPROVE
108

11-
- name: automatic merge for dependabot pull requests
9+
- name: merge dependabot pull requests
1210
conditions:
13-
- author~=dependabot\[bot\]|dependabot-preview\[bot\]
11+
- author=dependabot[bot]
1412
- "#approved-reviews-by>=1"
1513
actions:
1614
merge:

.travis.yml

-47
This file was deleted.

0 commit comments

Comments
 (0)