-
Notifications
You must be signed in to change notification settings - Fork 6
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 #84 from sanger-tol/dev
Release 1.2
- Loading branch information
Showing
58 changed files
with
690 additions
and
445 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 |
---|---|---|
|
@@ -8,21 +8,21 @@ jobs: | |
# Only run if comment is on a PR with the main repo, and if it contains the magic keywords | ||
if: > | ||
contains(github.event.comment.html_url, '/pull/') && | ||
contains(github.event.comment.body, '@nf-core-bot fix linting') && | ||
contains(github.event.comment.body, '@sanger-tolsoft fix linting') && | ||
github.repository == 'sanger-tol/readmapping' | ||
runs-on: ubuntu-latest | ||
steps: | ||
# Use the @nf-core-bot token to check out so we can push later | ||
# Use the @sanger-tolsoft token to check out so we can push later | ||
- uses: actions/checkout@v3 | ||
with: | ||
token: ${{ secrets.nf_core_bot_auth_token }} | ||
token: ${{ secrets.sangertolsoft_access_token }} | ||
|
||
# Action runs on the issue comment, so we don't get the PR by default | ||
# Use the gh cli to check out the PR | ||
- name: Checkout Pull Request | ||
run: gh pr checkout ${{ github.event.issue.number }} | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.nf_core_bot_auth_token }} | ||
GITHUB_TOKEN: ${{ secrets.sangertolsoft_access_token }} | ||
|
||
- uses: actions/setup-node@v3 | ||
|
||
|
@@ -34,9 +34,9 @@ jobs: | |
id: prettier_status | ||
run: | | ||
if prettier --check ${GITHUB_WORKSPACE}; then | ||
echo "name=result::pass" >> $GITHUB_OUTPUT | ||
echo "result=pass" >> $GITHUB_OUTPUT | ||
else | ||
echo "name=result::fail" >> $GITHUB_OUTPUT | ||
echo "result=fail" >> $GITHUB_OUTPUT | ||
fi | ||
- name: Run 'prettier --write' | ||
|
@@ -46,8 +46,8 @@ jobs: | |
- name: Commit & push changes | ||
if: steps.prettier_status.outputs.result == 'fail' | ||
run: | | ||
git config user.email "[email protected]" | ||
git config user.name "nf-core-bot" | ||
git config user.email "[email protected]" | ||
git config user.name "sanger-tolsoft" | ||
git config push.default upstream | ||
git add . | ||
git status | ||
|
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
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
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
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
Oops, something went wrong.