Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fake commit #10

Closed
wants to merge 3 commits into from
Closed
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
16 changes: 15 additions & 1 deletion .github/workflows/comment_bot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,15 +31,29 @@ permissions:
jobs:
crossbow:
name: Listen!
if: startsWith(github.event.comment.body, '@github-actions crossbow')
if: ${{ github.event.issue.pull_request && startsWith(github.event.comment.body, '@github-actions crossbow')}}
runs-on: ubuntu-latest
steps:
- name: Get PR SHA
id: sha
uses: actions/github-script@v4
with:
result-encoding: string
script: |
const { owner, repo, number } = context.issue;
const pr = await github.pulls.get({
owner,
repo,
pull_number: number,
});
return pr.data.head.sha
- name: Checkout Arrow
uses: actions/checkout@v3
with:
path: arrow
# fetch the tags for version number generation
fetch-depth: 0
ref: ${{ steps.sha.outputs.result }}
- name: Set up Python
uses: actions/setup-python@v4
with:
Expand Down
1 change: 1 addition & 0 deletions dev/archery/archery/crossbow/reports.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@ def branch_url(self, branch):

def task_url(self, task):
if self._wait_for_task:
print("Waiting for task")
time.sleep(self._wait_for_task)
if task.status().build_links:
# show link to the actual build, some CI providers implement
Expand Down