Skip to content

Commit

Permalink
ci: fix release-please (#430)
Browse files Browse the repository at this point in the history
  • Loading branch information
subotic authored Apr 5, 2024
1 parent 4578c08 commit 0231a85
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 13 deletions.
3 changes: 1 addition & 2 deletions .github/release-please/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,5 @@
{ "type": "ci", "section": "Continuous Integration", "hidden": true }
],
"packages": {".": {}},
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",

"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json"
}
11 changes: 0 additions & 11 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,3 @@ jobs:
CUSTOM_DOMAIN: sipi.io
CONFIG_FILE: docs/mkdocs.yml
REQUIREMENTS: docs/requirements.txt

# Do the release-please thing
release-please:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || (github.event_name == 'create' && startsWith(github.ref, 'refs/tags'))
steps:
- uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.DASCHBOT_PAT }}
config-file: .github/release-please/config.json
manifest-file: .github/release-please/manifest.json
20 changes: 20 additions & 0 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: release-please

on:
push:
branches:
- main
create:
# This triggers for any tag or branch creation. We'll filter for tags in the job.

jobs:
# Do the release-please thing
release-please:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' || (github.event_name == 'create' && startsWith(github.ref, 'refs/tags'))
steps:
- uses: google-github-actions/release-please-action@v4
with:
token: ${{ secrets.DASCHBOT_PAT }}
config-file: .github/release-please/config.json
manifest-file: .github/release-please/manifest.json

0 comments on commit 0231a85

Please sign in to comment.