Skip to content

Commit

Permalink
Merge pull request #100 from smutel/UpdateCI
Browse files Browse the repository at this point in the history
ci: Update Github Actions
  • Loading branch information
smutel authored Apr 24, 2022
2 parents 7da516c + ca8c8a7 commit 8a75449
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 9 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@ jobs:
go: [ '1.17.x' ]
steps:
- name: Checkout
uses: actions/[email protected].0
uses: actions/[email protected].2
with:
fetch-depth: 0

- name: Lint
uses: reviewdog/action-golangci-lint@v2.0.3
uses: reviewdog/action-golangci-lint@v2.1.3
with:
github_token: ${{ secrets.github_token }}
golangci_lint_flags: "--config=.golangci.yml"
Expand All @@ -45,7 +45,7 @@ jobs:
shell: bash

- name: Commit changes
uses: EndBug/add-and-commit@v8.0.2
uses: EndBug/add-and-commit@v9.0.0
with:
add: 'netbox'
author_name: smutel
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,21 +13,22 @@ jobs:
go: [ '1.17.x' ]
steps:
- name: Check conventional commits in PR
uses: Namchee/conventional-pr@v0.9.0
uses: Namchee/conventional-pr@v0.10.1
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
report: false

- name: Checkout
uses: actions/[email protected].0
uses: actions/[email protected].2
with:
fetch-depth: 0

- name: Lint
uses: reviewdog/action-golangci-lint@v2.0.3
uses: reviewdog/action-golangci-lint@v2.1.3
with:
github_token: ${{ secrets.github_token }}
golangci_lint_flags: "--config=.golangci.yml"
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
go: [ '1.17.x' ]
steps:
- name: Checkout
uses: actions/[email protected].0
uses: actions/[email protected].2
with:
fetch-depth: 0

Expand All @@ -26,7 +26,7 @@ jobs:

- name: Import GPG key
id: import_gpg
uses: crazy-max/ghaction-import-gpg@v4.2.0
uses: crazy-max/ghaction-import-gpg@v4.4.0
with:
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }}
passphrase: ${{ secrets.PASSPHRASE }}
Expand All @@ -42,7 +42,7 @@ jobs:
uses: goreleaser/[email protected]
with:
version: latest
args: release --rm-dist --release-notes=/tmp/RELEASE_CHANGELOG.md
args: release --rm-dist --release-notes "/tmp/RELEASE_CHANGELOG.md"
env:
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
1 change: 1 addition & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ Terraform provider for [Netbox.](https://netbox.readthedocs.io/en/stable/)
| 2.8 | 0.x.y |
| 2.9 | 1.x.y |
| 2.11 | 2.x.y |
| 3.0 | 3.x.y |

## Example Usage

Expand Down

0 comments on commit 8a75449

Please sign in to comment.