Skip to content

Commit

Permalink
Merge pull request #85 from memes/chore/release-please-noexec
Browse files Browse the repository at this point in the history
ci: Do not run release-please in template repo
  • Loading branch information
memes committed Jan 12, 2024
2 parents a767407 + bf09bce commit 1bd8bd1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,14 @@ permissions:

jobs:
release-please:
# TODO: @memes - enable in real project
if: false
runs-on: ubuntu-latest
steps:
- name: Release Please
uses: GoogleCloudPlatform/[email protected]
with:
# TODO @memes - make sure release-type and package-name are correct.
# TODO @memes - make sure release-type and other options are correct.
release-type: simple
# TODO @memes - If other actions are not going to be triggered by the
# result of this action this can be removed.
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@ demos and projects.
1. Use as a template when creating a new GitHub repo, or copy the contents into
a bare-repo directory.

2. Update `.pre-commit-config.yml` to add/remove plugins as necessary.
3. Modify README.md and CONTRIBUTING.md, change LICENSE as needed.
4. Review GitHub PR and issue templates.
5. If using `release-please` action, make these changes:
1. In GitHub Settings:
* _Settings_ > _Actions_ > _General_ > _Allow GitHub Actions to create and approve pull requests_ is checked
* _Settings_ > _Secrets and Variables_ > _Actions_, and add `RELEASE_PLEASE_TOKEN` with PAT as a _Repository Secret_
2. Reset [version.txt](version.txt) to an empty file or remove if using a different `release-please` type.
2. Modify [release-please action](.github/workflows/release-please.yml) to have the correct release-type and enable
3. Reset [version.txt](version.txt) to an empty file or remove if using a different `release-please` type.
6. Remove all [CHANGELOG](CHANGELOG.md) entries.
7. Commit changes.

0 comments on commit 1bd8bd1

Please sign in to comment.