-
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.
Merge pull request #148 from bcgov/yj
chore: remove commented code
- Loading branch information
Showing
1 changed file
with
0 additions
and
73 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 |
---|---|---|
|
@@ -42,76 +42,3 @@ jobs: | |
git config commit.gpgsign false | ||
git tag v${{ steps.input.outputs.tag }} -m "Release v${{ steps.input.outputs.tag }}" | ||
git push --tags origin | ||
# - name: Setup Tools | ||
# uses: ./.github/actions/setup-tools | ||
|
||
# - name: Setup NPM Packages | ||
# uses: ./.github/actions/setup-npm | ||
|
||
# - name: Create a tag and update changelog | ||
# run: | | ||
# git config user.name "$GITHUB_ACTOR" | ||
# git config user.email "[email protected]" | ||
# git config commit.gpgsign false | ||
|
||
# branch=changelog/${{ steps.input.outputs.tag }} | ||
# git checkout -b "$branch" | ||
# git push --set-upstream origin "$branch" | ||
|
||
# echo "git status - 0" | ||
# git status | ||
# echo "git status - 1" | ||
# git reset --hard | ||
# ./node_modules/.bin/release-it ${{ steps.input.outputs.tag }} --only-version | ||
|
||
# - name: Set output variables | ||
# id: vars | ||
# run: | | ||
# pr_title="chore: release candidate v${{ steps.input.outputs.tag }}" | ||
# pr_body=$(git tag -l --format='%(contents)' v${{ steps.input.outputs.tag }}) | ||
# echo "pr_title=$pr_title" >> $GITHUB_OUTPUT | ||
# echo "base=$GITHUB_REF_NAME" >> $GITHUB_OUTPUT | ||
|
||
# # See https://docs.github.com/en/actions/using-workflows/workflow-commands-for-github-actions#multiline-strings | ||
# EOF=$(dd if=/dev/urandom bs=15 count=1 status=none | base64) | ||
# echo "pr_body<<$EOF" >> "$GITHUB_OUTPUT" | ||
# echo "$pr_body" >> $GITHUB_OUTPUT | ||
# echo "$EOF" >> "$GITHUB_OUTPUT" | ||
|
||
# - name: Create Pull Request | ||
# uses: actions/github-script@6f00a0b667f9463337970371ccda9072ee86fb27 | ||
# with: | ||
# github-token: ${{ secrets.GITHUB_TOKEN }} | ||
# script: | | ||
# const { repo, owner } = context.repo; | ||
# const result = await github.rest.pulls.create({ | ||
# owner, | ||
# repo, | ||
# head: 'changelog/${{ steps.input.outputs.tag }}', | ||
# base: '${{ steps.vars.outputs.base }}', | ||
# title: '${{ steps.vars.outputs.pr_title }}', | ||
# body: `### Commits | ||
# ${{ steps.vars.outputs.pr_body }} | ||
# ### GitHub Action | ||
# - [Build and deploy Apps in Test Environment](https://github.com/strdss/actions/workflows/deploy-test.yml) | ||
# `, | ||
# }); | ||
|
||
# github.rest.issues.addLabels({ | ||
# owner, | ||
# repo, | ||
# issue_number: result.data.number, | ||
# labels: ['changelog', 'v${{ steps.input.outputs.tag }}'] | ||
# }); | ||
|
||
# # github.rest.pulls.merge({ | ||
# # owner, | ||
# # repo, | ||
# # pull_number: result.data.number, | ||
# # merge_method: 'merge' | ||
# # }); | ||
|
||
# - name: Delete Changelog Branch | ||
# run: | | ||
# git push origin -d changelog/${{ steps.input.outputs.tag }} |