Skip to content

Commit

Permalink
ci(.github): bring this repo in line with other fastly-devtools repos…
Browse files Browse the repository at this point in the history
… for CI (#934)
  • Loading branch information
anthony-gomez-fastly authored Feb 26, 2025
1 parent 6700d2a commit ec40061
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 29 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
@fastly/developer-tools
* @fastly/developer-tools
23 changes: 0 additions & 23 deletions .github/workflows/dependabot_changelog_update.yml

This file was deleted.

24 changes: 20 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,26 @@ on:
types: [ok-to-test-command] # corresponds to ./ok-to-test.yml `commands:` field
name: Pull request
jobs:
dependabot-changelog-update:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- name: Checkout code
uses: actions/checkout@v4
- uses: dangoslen/dependabot-changelog-helper@v3
with:
activationLabels: dependencies
changelogPath: './CHANGELOG.md'
entryPrefix: 'build(deps): '
- uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "docs(CHANGELOG.md): add dependency bump from dependabot"
changelog:
needs: dependabot-changelog-update
runs-on: ubuntu-latest
steps:
- uses: dangoslen/changelog-enforcer@v3
lint:
runs-on: ubuntu-latest
steps:
Expand Down Expand Up @@ -34,10 +54,6 @@ jobs:
go-version: ${{ matrix.go-version }}
- name: Test
run: make test
changelog:
runs-on: ubuntu-latest
steps:
- uses: dangoslen/changelog-enforcer@v3
docs:
runs-on: ubuntu-latest
steps:
Expand Down
10 changes: 9 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
## 5.17.0 (Unreleased)
## [UNRELEASED]

ENHANCEMENTS:

BUG FIXES:

DEPENDENCIES:

DOCUMENTATION:

## 5.16.0 (January 31, 2025)

Expand Down
1 change: 1 addition & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ $ git remote add upstream git@github.com:fastly/terraform-provider-fastly.git
1. Write tests.
1. Validate your change via the steps documented [in the README](./README.md#testing).
1. Open a pull request against `upstream main`.
1. Add an entry in `CHANGELOG.md` in the `UNRELEASED` section under the appropriate heading with a link to the PR.
1. Celebrate :tada:!

> ** Please also following the instructions for: [Allowing changes to a pull request branch created from a fork](https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/working-with-forks/allowing-changes-to-a-pull-request-branch-created-from-a-fork)

0 comments on commit ec40061

Please # to comment.