Skip to content

Commit

Permalink
feat: added automerge and updated the workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
cloudlovely committed Jan 31, 2024
1 parent 621e357 commit cc8e077
Show file tree
Hide file tree
Showing 5 changed files with 20 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/auto_assignee.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
types: [opened, reopened]
workflow_dispatch:
jobs:
assign-pr:
assignee:
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected]
secrets:
GITHUB: ${{ secrets.GITHUB }}
with:
assignees: 'clouddrove-ci'
assignees: 'clouddrove-ci'
12 changes: 12 additions & 0 deletions .github/workflows/automerge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
name: Auto merge
on:
pull_request:
jobs:
auto-merge:
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected]
secrets:
GITHUB: ${{ secrets.GITHUB }}
with:
tfcheck: 'tf-checks-basic-example / Check code format'
...
7 changes: 4 additions & 3 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
---
name: changelog
permissions: write-all
on:
Expand All @@ -6,9 +7,9 @@ on:
- "*"
workflow_dispatch:
jobs:
call-workflow-changelog:
changelog:
uses: clouddrove/github-shared-workflows/.github/workflows/[email protected]
secrets:
GITHUB: ${{ secrets.GITHUB }}
secrets: inherit
with:
branch: 'master'
...
2 changes: 1 addition & 1 deletion .github/workflows/readme.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
- master

jobs:
readme-create:
readme:
name: 'readme-create'
runs-on: ubuntu-latest
steps:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tfsec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
secrets:
GITHUB: ${{ secrets.GITHUB }}
with:
working_directory: '.'
working_directory: '.'

0 comments on commit cc8e077

Please sign in to comment.