Skip to content

Commit

Permalink
Merge pull request #20 from schubergphilis/fix-workflows
Browse files Browse the repository at this point in the history
fix formatting and checkov workflow errors
  • Loading branch information
marwinbaumannsbp authored Jun 16, 2023
2 parents f1b7271 + 605f276 commit a0ed887
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
7 changes: 4 additions & 3 deletions sync-root/.github/workflows/label-synchronization.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,13 @@ on:
- .github/labels.yaml
- .github/workflows/label-sync.yaml

permissions:
# write permission is required to edit issue labels
issues: write

jobs:
build:
runs-on: ubuntu-latest
permissions:
# write permission is required to edit issue labels
issues: write
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
4 changes: 2 additions & 2 deletions sync-root/.github/workflows/release-drafter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ on:
- LICENSE

permissions:
# write permission is required to create a github release
contents: write
# write permission is required to create a github release
contents: write

jobs:
draft:
Expand Down
4 changes: 2 additions & 2 deletions sync-root/.github/workflows/terraform-validation.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Terraform Linters
uses: terraform-linters/setup-tflint@v2
with:
github_token: ${{ github.token }}
github_token: ${{ github.token }}

- name: Terraform Format
id: fmt
Expand Down Expand Up @@ -106,7 +106,7 @@ jobs:
uses: terraform-docs/gh-actions@v1.0.0
with:
args: --sort-by required
git-commit-message: 'docs(readme): update module usage'
git-commit-message: "docs(readme): update module usage"
git-push: true
output-file: README.md
output-method: inject
Expand Down
4 changes: 2 additions & 2 deletions sync-root/.github/workflows/update-changelog.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
release:
types:
- published

permissions:
contents: write

Expand All @@ -27,5 +27,5 @@ jobs:
uses: stefanzweifel/git-auto-commit-action@v4
with:
branch: ${{ github.event.repository.default_branch }}
commit_message: 'docs(changelog): update changelog'
commit_message: "docs(changelog): update changelog"
file_pattern: CHANGELOG.md

0 comments on commit a0ed887

Please sign in to comment.