generated from devcontainers/feature-starter
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
755509a
commit 125df6f
Showing
4 changed files
with
3,242 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -44,13 +44,15 @@ jobs: | |
git config pull.rebase false | ||
branch=automated-documentation-update-$GITHUB_RUN_ID | ||
git checkout -b $branch | ||
_message='docs(src/all): Automated documentation update' | ||
git add */**/README.md | ||
git commit -m "$_message [skip ci]" || export NO_UPDATES=true | ||
git commit \ | ||
-m "docs(src/all): Automated documentation update [skip ci]" \ | ||
-m ":robot: This PR was created by a GitHub Action" \ | ||
-m "Co-authored-by: Bart Venter <[email protected]>" || export NO_UPDATES=true | ||
if [ "$NO_UPDATES" != "true" ] ; then | ||
git push origin "$branch" | ||
gh pr create \ | ||
--title "$_message" \ | ||
--body ":robot: Automated documentation update" \ | ||
--fill \ | ||
--assignee ${{github.actor}} \ | ||
--label "documentation" | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,14 +18,14 @@ jobs: | |
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- name: Setup Node.js | ||
uses: bartventer/devcontainer-images/.github/actions/[email protected] | ||
- name: Import GPG key | ||
uses: crazy-max/ghaction-import-gpg@v6 | ||
with: | ||
gpg_private_key: ${{ secrets.GPG_PRIVATE_KEY }} | ||
passphrase: ${{ secrets.GPG_PASSPHRASE }} | ||
- name: 'Run semantic-release' | ||
run: | | ||
yarn global add semantic-release@17 @semantic-release/exec | ||
semantic-release | ||
run: yarn run semantic-release | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"engines": { | ||
"node": ">=22.3.0" | ||
}, | ||
"dependencies": { | ||
"@semantic-release/commit-analyzer": "^13.0.0", | ||
"@semantic-release/exec": "^6.0.3", | ||
"@semantic-release/github": "^10.0.6", | ||
"@semantic-release/release-notes-generator": "^14.0.1", | ||
"semantic-release": "24.0.0" | ||
} | ||
} |
Oops, something went wrong.