Compare commits
7 Commits
3b03c0e15a
...
2.0.4
| Author | SHA1 | Date | |
|---|---|---|---|
|
50ff19fae2
|
|||
|
63da84fe0a
|
|||
| 4b3b1ab69f | |||
| f6750482a7 | |||
| 4d667c9fe0 | |||
| d9ffd2726f | |||
| d7dde0e936 |
@@ -46,7 +46,7 @@ jobs:
|
|||||||
username: ${{ secrets.registry-user }}
|
username: ${{ secrets.registry-user }}
|
||||||
password: ${{ secrets.registry-password }}
|
password: ${{ secrets.registry-password }}
|
||||||
- name: Build and push
|
- name: Build and push
|
||||||
uses: docker/build-push-action@v5
|
uses: docker/build-push-action@v6
|
||||||
with:
|
with:
|
||||||
context: .
|
context: .
|
||||||
platforms: linux/amd64,linux/arm64
|
platforms: linux/amd64,linux/arm64
|
||||||
|
|||||||
@@ -20,9 +20,9 @@ jobs:
|
|||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
|
||||||
- name: Semver release
|
- name: Semver release
|
||||||
uses: cocogitto/cocogitto-action@v3
|
uses: cocogitto/cocogitto-action@v4
|
||||||
with:
|
with:
|
||||||
# check-latest-tag-only: ${{ inputs.check-latest-tag-only }}
|
command: check
|
||||||
check-latest-tag-only: true
|
args: --from-latest-tag
|
||||||
git-user: "gitea-bot"
|
git-user: "gitea-bot"
|
||||||
git-user-email: "bot@git.palkoi.net"
|
git-user-email: "bot@git.palkoi.net"
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ jobs:
|
|||||||
- uses: actions/checkout@v6
|
- uses: actions/checkout@v6
|
||||||
with:
|
with:
|
||||||
fetch-depth: 0
|
fetch-depth: 0
|
||||||
|
ref: ${{ github.event.pull_request.head.sha }}
|
||||||
|
|
||||||
- run: |
|
- run: |
|
||||||
git config user.name gitea-bot
|
git config user.name gitea-bot
|
||||||
@@ -28,20 +29,23 @@ jobs:
|
|||||||
git config --global user.name gitea-bot
|
git config --global user.name gitea-bot
|
||||||
|
|
||||||
- name: Semver release
|
- name: Semver release
|
||||||
uses: cocogitto/cocogitto-action@v3
|
uses: cocogitto/cocogitto-action@v4
|
||||||
id: release
|
id: release
|
||||||
with:
|
with:
|
||||||
release: true
|
command: bump
|
||||||
|
args: --auto
|
||||||
git-user: "gitea-bot"
|
git-user: "gitea-bot"
|
||||||
git-user-email: "bot@git.palkoi.net"
|
git-user-email: "bot@git.palkoi.net"
|
||||||
check-latest-tag-only: true
|
|
||||||
# check-latest-tag-only: ${{ inputs.check-latest-tag-only }}
|
|
||||||
|
|
||||||
- name: Generate Changelog
|
- name: Generate Changelog
|
||||||
run: cog changelog --at ${{ steps.release.outputs.version }} -t full_hash > GITHUB_CHANGELOG.md
|
id: changelog
|
||||||
|
uses: cocogitto/cocogitto-action@v4
|
||||||
|
with:
|
||||||
|
command: changelog
|
||||||
|
args: --at ${{ steps.release.outputs.version }} -t full_hash
|
||||||
|
|
||||||
- name: Upload github release
|
- name: Upload github release
|
||||||
uses: softprops/action-gh-release@v2
|
uses: softprops/action-gh-release@v2
|
||||||
with:
|
with:
|
||||||
body_path: GITHUB_CHANGELOG.md
|
body_path: ${{ steps.changelog.outputs.stdout }}
|
||||||
tag_name: ${{ steps.release.outputs.version }}
|
tag_name: ${{ steps.release.outputs.version }}
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ jobs:
|
|||||||
id: ml
|
id: ml
|
||||||
# You can override MegaLinter flavor used to have faster performances
|
# You can override MegaLinter flavor used to have faster performances
|
||||||
# More info at https://megalinter.io/flavors/
|
# More info at https://megalinter.io/flavors/
|
||||||
uses: oxsecurity/megalinter@v7
|
uses: oxsecurity/megalinter@v9
|
||||||
env:
|
env:
|
||||||
# All available variables are described in documentation
|
# All available variables are described in documentation
|
||||||
# https://megalinter.io/configuration/
|
# https://megalinter.io/configuration/
|
||||||
@@ -99,7 +99,7 @@ jobs:
|
|||||||
run: sudo chown -Rc $UID .git/
|
run: sudo chown -Rc $UID .git/
|
||||||
- name: Commit and push applied linter fixes
|
- name: Commit and push applied linter fixes
|
||||||
if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
|
if: steps.ml.outputs.has_updated_sources == 1 && (env.APPLY_FIXES_EVENT == 'all' || env.APPLY_FIXES_EVENT == github.event_name) && env.APPLY_FIXES_MODE == 'commit' && github.ref != 'refs/heads/main' && (github.event_name == 'push' || github.event.pull_request.head.repo.full_name == github.repository) && !contains(github.event.head_commit.message, 'skip fix')
|
||||||
uses: stefanzweifel/git-auto-commit-action@v4
|
uses: stefanzweifel/git-auto-commit-action@v7
|
||||||
with:
|
with:
|
||||||
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
|
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
|
||||||
commit_message: "feat(linter): apply linters fixes"
|
commit_message: "feat(linter): apply linters fixes"
|
||||||
|
|||||||
@@ -25,14 +25,14 @@ jobs:
|
|||||||
terraform-docs --version
|
terraform-docs --version
|
||||||
terraform-docs markdown table --output-file README.md --output-mode inject .
|
terraform-docs markdown table --output-file README.md --output-mode inject .
|
||||||
- name: Verify Changed files
|
- name: Verify Changed files
|
||||||
uses: tj-actions/verify-changed-files@v19
|
uses: tj-actions/verify-changed-files@v20
|
||||||
id: verify-changed-files
|
id: verify-changed-files
|
||||||
with:
|
with:
|
||||||
files: |
|
files: |
|
||||||
README.md
|
README.md
|
||||||
- name: Commit and push new terraform docs version
|
- name: Commit and push new terraform docs version
|
||||||
if: steps.verify-changed-files.outputs.files_changed == 'true'
|
if: steps.verify-changed-files.outputs.files_changed == 'true'
|
||||||
uses: stefanzweifel/git-auto-commit-action@v4
|
uses: stefanzweifel/git-auto-commit-action@v7
|
||||||
with:
|
with:
|
||||||
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
|
branch: ${{ github.event.pull_request.head.ref || github.head_ref || github.ref }}
|
||||||
commit_message: "docs(tf-docs): update docs"
|
commit_message: "docs(tf-docs): update docs"
|
||||||
|
|||||||
Reference in New Issue
Block a user