pull_requests: 548566031
This data as json
id | node_id | number | state | locked | title | user | body | created_at | updated_at | closed_at | merged_at | merge_commit_sha | assignee | milestone | draft | head | base | author_association | auto_merge | repo | url | merged_by |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
548566031 | MDExOlB1bGxSZXF1ZXN0NTQ4NTY2MDMx | 4764 | closed | 0 | action to detect a keyword in the commit summary line | 14808389 | follow-up to #4729 and #4730 To use the `detect-ci-trigger` action in workflows, add a new job: ```yaml detect-ci-trigger: name: Detect CI Trigger runs-on: ubuntu-latest outputs: triggered: ${{ steps.detect-trigger.outputs.trigger-found }} steps: - uses: actions/checkout@v2 - uses: ./.github/actions/detect-ci-trigger id: detect-trigger with: keyword: "<keyword>" ``` then require the new job in jobs that should be conditionally skipped: ```yaml my-ci-job: runs-on: ubuntu-latest needs: detect-ci-trigger if: needs.detect-ci-trigger.outputs.triggered == 'false' # for skip-ci # if: needs.detect-ci-trigger.outputs.triggered == 'true' # for test-upstream steps: - actions/checkout@v2 # ... ``` ~unfortunately, this still requires `actions/checkout` with `fetch-depth`, I can't seem to get a `git fetch` in the action script to work.~ Edit: `git fetch --deepen=1` instead of `git fetch --depth=2` seems to work. cc @andersy005 | 2021-01-05T01:03:56Z | 2021-01-05T20:39:15Z | 2021-01-05T20:39:12Z | 2021-01-05T20:39:12Z | 00519753da74d533527dd7eafac7ac9f2fde6b07 | 0 | 858204522e2574e4d43b0a8702d90c383596a41a | 8731accca9c718cc6b75f2a3749be0fe1db8172c | MEMBER | 13221727 | https://github.com/pydata/xarray/pull/4764 |
Links from other tables
- 1 row from pull_requests_id in labels_pull_requests