Skip to content

Commit

Permalink
add newline and remove spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
T0biii committed Apr 28, 2024
1 parent 549e3c8 commit b148ca4
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/bump-modules.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ name: "Update Modules base"

on:
workflow_dispatch:

permissions:
contents: write # so it can comment
pull-requests: write # so it can create pull requests
Expand All @@ -24,7 +24,7 @@ jobs:

- name: Invoke update-modules
run: ./contrib/actions/update-modules.sh

- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v6
Expand All @@ -37,9 +37,9 @@ jobs:
[1]: https://github.com/peter-evans/create-pull-request
commit-message: bump modules version
branch: ${{ steps.branch-name.outputs.branch-name }}

- name: Check outputs
if: ${{ steps.cpr.outputs.pull-request-number }}
run: |
echo "Pull Request Number - ${{ steps.cpr.outputs.pull-request-number }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
echo "Pull Request URL - ${{ steps.cpr.outputs.pull-request-url }}"
2 changes: 1 addition & 1 deletion contrib/actions/update-modules.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,4 @@ while IFS= read -r line; do
echo "Fehler: Der neueste Commit f r $REPO_NAME konnte nicht abgerufen werden."
fi
fi
done < "$MODULES_FILE"
done < "$MODULES_FILE"

Check warning on line 27 in contrib/actions/update-modules.sh

View workflow job for this annotation

GitHub Actions / runner / shellcheck

[shellcheck] reported by reviewdog 🐶 Make sure not to read and write the same file in the same pipeline. Raw Output: ./contrib/actions/update-modules.sh:27:8: info: Make sure not to read and write the same file in the same pipeline. (ShellCheck.SC2094)

0 comments on commit b148ca4

Please sign in to comment.