Skip to content
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/dependabot-auto-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@ jobs:
if: github.actor == 'dependabot[bot]'
steps:
- name: Enable auto-merge
run: gh pr merge --auto --rebase "${{ github.event.pull_request.number }}"
run: gh pr merge --auto --rebase --repo "${{ github.repository }}" "${{ github.event.pull_request.number }}"
4 changes: 2 additions & 2 deletions .github/workflows/fork-integration-trigger.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
- name: Get PR head SHA and check for fork
id: pr
run: |
pr=$(gh pr view ${{ github.event.issue.number }} --json headRefOid,isCrossRepository)
pr=$(gh pr view ${{ github.event.issue.number }} --repo "$GITHUB_REPOSITORY" --json headRefOid,isCrossRepository)
read -r ref is_fork < <(echo "$pr" | jq -r '[.headRefOid, (.isCrossRepository | tostring)] | @tsv')
if [[ "$is_fork" == "false" ]]; then
echo "This command is only needed for fork PRs. Integration tests run automatically for PRs from this repository."
Expand All @@ -46,6 +46,6 @@ jobs:
- name: Trigger integration tests
run: |
for workflow in s3-integration.yml gcs-integration.yml alioss-integration.yml azurebs-integration.yml dav-integration.yml; do
gh workflow run "$workflow" --ref ${{ github.event.repository.default_branch }} -f pr_ref=${{ steps.pr.outputs.ref }} &
gh workflow run "$workflow" --repo "$GITHUB_REPOSITORY" --ref ${{ github.event.repository.default_branch }} -f pr_ref=${{ steps.pr.outputs.ref }} &
done
wait
Loading