Skip to content
Open
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
5 changes: 5 additions & 0 deletions .github/workflows/deploy-main-branches.yml
Original file line number Diff line number Diff line change
Expand Up @@ -154,6 +154,7 @@ jobs:
gh pr edit $CURRENT_PR \
--body "Updating Opencast ${{ needs.detect-repo-owner.outputs.branch }} Editor module to [${{ github.sha }}](https://github.com/${{ github.repository_owner }}/editor/commit/${{ github.sha }})" \
-R ${{ github.repository_owner }}/opencast
gh pr merge --auto --merge
else
gh pr create \
--title "Update ${{ needs.detect-repo-owner.outputs.branch }} Editor" \
Expand All @@ -164,4 +165,8 @@ jobs:
#FIXME: fine grained PATs can't apply labels
#FIXME: classic PATs don't have the permissions because the PR isn't in an opencastproject (the user) repo
#--label editor --label maintenance \
# Set the PR to auto merge
# We sleep here since sometimes the merge call right after might be too fast for Github
sleep 30
gh pr merge --auto --merge
fi
Loading