diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index cf9d4bd..8fab4ac 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -8,10 +8,11 @@ name: ci jobs: lint-unit: - uses: sous-chefs/.github/.github/workflows/lint-unit.yml@4.0.0 + uses: sous-chefs/.github/.github/workflows/lint-unit.yml@4.1.0 permissions: actions: write checks: write pull-requests: write statuses: write issues: write + secrets: inherit diff --git a/.github/workflows/conventional-commits.yml b/.github/workflows/conventional-commits.yml new file mode 100644 index 0000000..c3ac2e2 --- /dev/null +++ b/.github/workflows/conventional-commits.yml @@ -0,0 +1,13 @@ +--- +name: 'Validate PR' + +"on": + pull_request_target: + types: [opened, edited, reopened] + +jobs: + conventional-commits: + uses: sous-chefs/.github/.github/workflows/conventional-commits.yml@4.1.0 + permissions: + pull-requests: read + secrets: inherit diff --git a/.github/workflows/prevent-file-change.yml b/.github/workflows/prevent-file-change.yml new file mode 100644 index 0000000..758333b --- /dev/null +++ b/.github/workflows/prevent-file-change.yml @@ -0,0 +1,13 @@ +--- +name: 'Prevent file change' + +"on": + pull_request_target: + branches: [main] + +jobs: + prevent-file-change: + uses: sous-chefs/.github/.github/workflows/prevent-file-change.yml@4.1.0 + permissions: + pull-requests: write + secrets: inherit diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml new file mode 100644 index 0000000..61455e3 --- /dev/null +++ b/.github/workflows/release.yml @@ -0,0 +1,19 @@ +--- +name: release-please + +"on": + push: + branches: [main] + +permissions: + contents: write + issues: write + pull-requests: write + packages: write + attestations: write + id-token: write + +jobs: + release-cookbook: + uses: sous-chefs/.github/.github/workflows/release-cookbook.yml@4.1.0 + secrets: inherit diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..033e2d4 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.2.10" +} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..ec4cd60 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,12 @@ +{ + "packages": { + ".": { + "package-name": "appveyor-ci", + "changelog-path": "CHANGELOG.md", + "release-type": "ruby", + "include-component-in-tag": false, + "version-file": "metadata.rb" + } + }, + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json" +}