Skip to content

fix: Use su instead of sudo to run jobs as the user #9

fix: Use su instead of sudo to run jobs as the user

fix: Use su instead of sudo to run jobs as the user #9

Workflow file for this run

on:
push:
branches: ["*"]
pull_request:
jobs:
check-conventional-commits:
uses: armakuni/github-actions/.github/workflows/check-conventional-commits.yml@v0.8.1
generate-terraform-docs:
if: github.ref == 'refs/heads/main'
uses: armakuni/github-actions/.github/workflows/generate-terraform-docs.yml@v0.8.1
with:
output-file: README.md
# This artifact is referenced by the cog.toml
artifact-name: terraform-docs
create-release:
needs:
- check-conventional-commits
- generate-terraform-docs
if: github.ref == 'refs/heads/main'
uses: armakuni/github-actions/.github/workflows/tag-and-release.yml@v0.8.1
secrets: inherit
with:
download-artifacts: true