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

provide new documentation as main.workflow is obsolete #5

Open
valentijnscholten opened this issue Sep 26, 2020 · 0 comments
Open

provide new documentation as main.workflow is obsolete #5

valentijnscholten opened this issue Sep 26, 2020 · 0 comments

Comments

@valentijnscholten
Copy link

the main.workflow way of configuring actions no longer works, you need something like the below in a .github/workflows/flake8yourpr.yml

name: Flake8 your PR
on: [pull_request]
jobs:
  flake8-your-pr:
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v2
        with:
          fetch-depth: 0

      - uses: tayfun/flake8-your-pr@master
        env:
          GITHUB_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
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