From 194b243d6eec3be9a87785141b4bc9c3f3d8e0dd Mon Sep 17 00:00:00 2001 From: smutel <12967891+smutel@users.noreply.github.com> Date: Tue, 26 Oct 2021 16:02:59 +0200 Subject: [PATCH 1/4] ci: Update checkout action module --- .github/workflows/master.yml | 6 +++--- .github/workflows/pr.yml | 4 ++-- .github/workflows/release.yml | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index f8498356c..1c44ff59d 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -15,7 +15,7 @@ jobs: go: [ '1.16.x' ] steps: - name: Checkout - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v2.3.5 - name: Unshallow run: git fetch --prune --unshallow @@ -38,13 +38,13 @@ jobs: uses: actions/setup-go@v2.1.4 with: go-version: ${{ matrix.go }} - + - name: Go fmt run: | cd "$(dirname $GITHUB_WORKSPACE)/src/github.com/smutel/terraform-provider-netbox" go fmt netbox/* shell: bash - + - name: Commit changes uses: EndBug/add-and-commit@v7.2.1 with: diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 0778ba0f0..80305e04f 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -23,7 +23,7 @@ jobs: link_issue: false - name: Checkout - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v2.3.5 - name: Unshallow run: git fetch --prune --unshallow @@ -47,7 +47,7 @@ jobs: uses: actions/setup-go@v2.1.4 with: go-version: ${{ matrix.go }} - + - name: Build run: | cd "$(dirname $GITHUB_WORKSPACE)/src/github.com/smutel/terraform-provider-netbox" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4c685f69e..4009052a7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -15,7 +15,7 @@ jobs: go: [ '1.16.x' ] steps: - name: Checkout - uses: actions/checkout@v2.3.4 + uses: actions/checkout@v2.3.5 - name: Unshallow run: git fetch --prune --unshallow From b5be2ea8b8272d01ddcdb1dcb345d6638295df03 Mon Sep 17 00:00:00 2001 From: smutel <12967891+smutel@users.noreply.github.com> Date: Tue, 26 Oct 2021 16:04:16 +0200 Subject: [PATCH 2/4] ci: Update comventional-pr action module --- .github/workflows/pr.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index 80305e04f..4b63ae0e6 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -13,13 +13,13 @@ jobs: go: [ '1.16.x' ] steps: - name: Check conventional commits in PR - uses: Namchee/conventional-pr@master + uses: Namchee/conventional-pr@v0.6.0 with: access_token: ${{ secrets.github_token }} label: "no-conventional-commits" close: false template: "Thank you for your contribution attempt in this repository!\n\nUnfortunately, this pull request doesn't meet our standards by reason we stated below.\nFor future pull requests, please use conventional commits.\nPlease update the commits in this PR with conventional commits rules." - strict: false + strict: true link_issue: false - name: Checkout From 0dfc0db5c34153861abd39e813a46970b8657ec2 Mon Sep 17 00:00:00 2001 From: smutel <12967891+smutel@users.noreply.github.com> Date: Tue, 26 Oct 2021 16:08:22 +0200 Subject: [PATCH 3/4] ci: Update import-gpg action module --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 4009052a7..b146342a2 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -27,7 +27,7 @@ jobs: - name: Import GPG key id: import_gpg - uses: crazy-max/ghaction-import-gpg@v4.0.0 + uses: crazy-max/ghaction-import-gpg@v4.1.0 with: gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} passphrase: ${{ secrets.PASSPHRASE }} From a861f50539d67be170c7c8268ee4090a4079c32f Mon Sep 17 00:00:00 2001 From: smutel <12967891+smutel@users.noreply.github.com> Date: Tue, 26 Oct 2021 16:08:31 +0200 Subject: [PATCH 4/4] ci: Update goreleaser-action action module --- .github/workflows/release.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b146342a2..bf69fdc98 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -40,7 +40,7 @@ jobs: run: ./utils/getChangelogRelease CHANGELOG.md ${{ steps.tag.outputs.tag }} > /tmp/RELEASE_CHANGELOG.md - name: Run GoReleaser - uses: goreleaser/goreleaser-action@v2.4.1 + uses: goreleaser/goreleaser-action@v2.8.0 with: version: latest args: release --rm-dist --release-notes=/tmp/RELEASE_CHANGELOG.md