Skip to content
This repository has been archived by the owner on Mar 19, 2021. It is now read-only.

Empty commit #14

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open
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
32 changes: 0 additions & 32 deletions .github/main.workflow

This file was deleted.

16 changes: 16 additions & 0 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on: pull_request
name: Synchronize the Pull Request Preview
jobs:
update-pr-preview:
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
ref: refs/heads/master
- name: update-pr-preview
uses: ./tools/docker/github
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
entrypoint: python
args: tools/ci/update_pr_preview.py https://api.github.com
3 changes: 3 additions & 0 deletions tools/ci/update_pr_preview.py
Original file line number Diff line number Diff line change
Expand Up @@ -250,6 +250,9 @@ def main(api_root):


if __name__ == '__main__':
import subprocess
logger.info(subprocess.check_output(['git', 'status']))
logger.info(subprocess.check_output(['git', 'log', '-n1']))
code = main(sys.argv[1])
assert isinstance(code, int)
sys.exit(code)