Skip to content

Commit 4ce59ea

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent fedb805 commit 4ce59ea

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

.github/workflows/pr-sort.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ jobs:
4545
# For manually triggered workflow
4646
PR_REF="${{ github.event.inputs.pr_number }}"
4747
CONTRIBUTOR="${{ github.event.inputs.contributor }}"
48-
48+
4949
if [[ -n "$PR_REF" ]]; then
5050
echo "pr_number=$PR_REF" >> $GITHUB_OUTPUT
5151
echo "branch_name=automated-updates-$PR_REF" >> $GITHUB_OUTPUT
@@ -55,7 +55,7 @@ jobs:
5555
echo "pr_number=manual-$TIMESTAMP" >> $GITHUB_OUTPUT
5656
echo "branch_name=automated-updates-$TIMESTAMP" >> $GITHUB_OUTPUT
5757
fi
58-
58+
5959
if [[ -n "$CONTRIBUTOR" ]]; then
6060
echo "contributor=$CONTRIBUTOR" >> $GITHUB_OUTPUT
6161
else
@@ -71,7 +71,7 @@ jobs:
7171
7272
# Run sort command
7373
pixi run sort
74-
74+
7575
# Add contributor if specified
7676
if [[ -n "${{ steps.vars.outputs.contributor }}" ]]; then
7777
pixi run install
@@ -89,16 +89,16 @@ jobs:
8989
git config --global user.name 'github-actions[bot]'
9090
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
9191
git add _data/* .all-contributorsrc README.md CONTRIBUTING.md
92-
92+
9393
# Create commit message
9494
COMMIT_MSG="chore: updates"
9595
COMMIT_MSG="$COMMIT_MSG\n\n* Sort conferences"
9696
if [[ -n "$CONTRIBUTOR_MSG" ]]; then
9797
COMMIT_MSG="$COMMIT_MSG\n$CONTRIBUTOR_MSG"
9898
fi
99-
99+
100100
git commit -m "$COMMIT_MSG"
101-
101+
102102
# Push the branch to the remote repository
103103
git push -u origin ${{ steps.vars.outputs.branch_name }}
104104
else

0 commit comments

Comments
 (0)