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

more stuff #21

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open

more stuff #21

wants to merge 5 commits into from

Conversation

driazati
Copy link
Owner

@driazati driazati commented Jun 3, 2022

adfs2s222233

driazati and others added 5 commits June 3, 2022 14:37
A lot of the GitHub Actions automation counts as a job on a PR (e.g. the
tag teams workflow) and they run multiple times. This would lead to
skipped/cancelled workflows showing up as errors when trying to merge,
which this PR fixes by only looking at the most recent run of each
action.
@driazati
Copy link
Owner Author

driazati commented Jun 3, 2022

@tvm-bot merge

@github-actions
Copy link

github-actions bot commented Jun 3, 2022

Failed to process merge request in https://github.com/driazati/tvm/actions/runs/2437303168

Traceback (most recent call last):
  File "tests/scripts/github_tvmbot.py", line 521, in run
    pr.merge_if_passed_checks()
  File "tests/scripts/github_tvmbot.py", line 492, in merge_if_passed_checks
    self.merge()
  File "tests/scripts/github_tvmbot.py", line 431, in merge
    self.github.put(url, data=data)
  File "/home/runner/work/tvm/tvm/tests/scripts/git_utils.py", line 93, in put
    return self._request(self.base + url, data, method="PUT")
  File "/home/runner/work/tvm/tvm/tests/scripts/git_utils.py", line 88, in _request
    with request.urlopen(req, data) as response:
  File "/usr/lib/python3.8/urllib/request.py", line 222, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/lib/python3.8/urllib/request.py", line 531, in open
    response = meth(req, response)
  File "/usr/lib/python3.8/urllib/request.py", line 640, in http_response
    response = self.parent.error(
  File "/usr/lib/python3.8/urllib/request.py", line 569, in error
    return self._call_chain(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 502, in _call_chain
    result = func(*args)
  File "/usr/lib/python3.8/urllib/request.py", line 649, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 405: Method Not Allowed

xinetzone pushed a commit to daobook/tvm that referenced this pull request Nov 25, 2022
This would post the comment that the tests bot and the docs comment bot
uses straightaway when a PR is posted. This will contain links to
generic info about posting PRs (and obviate the
`.github/PULL_REQUEST_TEMPLATE.md`) as well as dynamic info about the
specific PR (filled in later by the respective bots). This would make
things like the auto-cc bot more transparent since it would have a link
to the relevant issue.

Tested live here: driazati#21 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants