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

Pull request synchronize event warning #101

Open
mab68 opened this issue Jun 26, 2020 · 0 comments
Open

Pull request synchronize event warning #101

mab68 opened this issue Jun 26, 2020 · 0 comments

Comments

@mab68
Copy link

mab68 commented Jun 26, 2020

Describe the bug
When a pull-request is updated, it causes a pull-request synchronize event which contains both the before and after values. Which results in this warning being emitted:

Received event from pull_request, but also received a before(f4e410346b2c90c44e8f0101f722ee02f3368726) or after(d9ec49f56a56f571782f37de896632a07fd5ed46) value.
 I am assuming you want to use a Push event but forgot something, so I'm giving you a message.

Workflow

name: CI
on: [push, pull_request]
jobs:
  unit-tests:
    name: Unit tests
    runs-on: ubuntu-latest
    strategy:
      matrix:
        python-version: [3.5, 3.6, 3.7, 3.8]
    steps:
      - name: Checkout source
        uses: actions/[email protected]
      - name: Get file changes
        id: file_changes
        uses: trilom/[email protected]
        with:
          output: ' '

Expected behavior
Expected behavior is the same but without the warning being emitted.

Additional context
Reference #97

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

No branches or pull requests

1 participant