Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion .github/workflows/source.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,12 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
# The feed is rebuilt from the GitHub API, not from the tree, and the
# commit below belongs on the default branch. A release event otherwise
# checks out the tag, leaving a detached HEAD that `git push` refuses.
- uses: actions/checkout@v5
with:
ref: ${{ github.event.repository.default_branch }}

- name: Resolve source repository
id: src
Expand Down Expand Up @@ -115,5 +120,5 @@ jobs:
echo "No change."
else
git commit -m "source: update apps.json"
git push
git push origin "HEAD:${{ github.event.repository.default_branch }}"
fi