Skip to content

Commit

Permalink
gha files
Browse files Browse the repository at this point in the history
  • Loading branch information
dalerichardson committed Aug 4, 2023
1 parent 3493e9b commit d7c7b78
Show file tree
Hide file tree
Showing 6 changed files with 51 additions and 44 deletions.
5 changes: 5 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
version: 2
updates:
# Maintain dependencies for GitHub Actions
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
- package-ecosystem: terraform
directory: "/"
schedule:
Expand Down
11 changes: 11 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Run lint and static analyis checks
on:
pull_request:

concurrency:
group: lint-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
lint:
uses: plus3it/actions-workflows/.github/workflows/lint.yml@84885d2116bdcaab046d6bf927127bb58cb74ae8
20 changes: 20 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Create GitHub Release

on:
# Run on demand
workflow_dispatch:

# Run on push to main when .bumpversion.cfg version is updated
push:
branches:
- master
paths:
- .bumpversion.cfg

jobs:
release:
uses: plus3it/actions-workflows/.github/workflows/release.yml@86222127307c7f827e141bbc35cf0efb0e611648
with:
mockstacktest-enable: false
secrets:
release-token: ${{ secrets.GH_RELEASES_TOKEN }}
11 changes: 11 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Run test jobs
on:
pull_request:

concurrency:
group: test-${{ github.head_ref || github.ref }}
cancel-in-progress: true

jobs:
test:
uses: plus3it/actions-workflows/.github/workflows/test.yml@86222127307c7f827e141bbc35cf0efb0e611648
9 changes: 4 additions & 5 deletions .mergify.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,14 @@
pull_request_rules:
- name: automatic approve dependabot pull requests
- name: approve dependabot pull requests
conditions:
- author~=dependabot\[bot\]|dependabot-preview\[bot\]
- 'status-success=Travis CI - Pull Request'
- author=dependabot[bot]
actions:
review:
type: APPROVE

- name: automatic merge for dependabot pull requests
- name: merge dependabot pull requests
conditions:
- author~=dependabot\[bot\]|dependabot-preview\[bot\]
- author=dependabot[bot]
- "#approved-reviews-by>=1"
actions:
merge:
Expand Down
39 changes: 0 additions & 39 deletions .travis.yml

This file was deleted.

0 comments on commit d7c7b78

Please sign in to comment.