diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 116ebc60..c917fedd 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -3,7 +3,7 @@ on: pull_request: branches: [master] jobs: - security-analysis: + build: runs-on: ubuntu-latest steps: - name: Checkout diff --git a/.github/workflows/greetings.yml b/.github/workflows/greetings.yml index 06629b37..1218681d 100644 --- a/.github/workflows/greetings.yml +++ b/.github/workflows/greetings.yml @@ -7,5 +7,5 @@ jobs: - uses: actions/first-interaction@v1 with: repo-token: ${{ secrets.GITHUB_TOKEN }} - issue-message: 'Thanks for creating your first issue :+1:\nFeel free to use [Slack](https://join.slack.com/t/qdm12/shared_invite/enQtODMwMDQyMTAxMjY1LTU1YjE1MTVhNTBmNTViNzJiZmQwZWRmMDhhZjEyNjVhZGM4YmIxOTMxOTYzN2U0N2U2YjQ2MDk3YmYxN2NiNTc) if you just need some quick help or want to chat' + issue-message: 'Thanks for creating your first issue :+1: Feel free to use [Slack](https://join.slack.com/t/qdm12/shared_invite/enQtODMwMDQyMTAxMjY1LTU1YjE1MTVhNTBmNTViNzJiZmQwZWRmMDhhZjEyNjVhZGM4YmIxOTMxOTYzN2U0N2U2YjQ2MDk3YmYxN2NiNTc) if you just need some quick help or want to chat' pr-message: 'Thank you so much for contributing, that means a lot to me :wink:' \ No newline at end of file diff --git a/.github/workflows/misspell.yml b/.github/workflows/misspell.yml index 7615d666..5c9f5751 100644 --- a/.github/workflows/misspell.yml +++ b/.github/workflows/misspell.yml @@ -1,25 +1,34 @@ name: Misspells on: - pull_request: - branches: [master] push: - branches: [master] + branches: + - master + pull_request: + branches: + - master jobs: misspell: runs-on: ubuntu-latest steps: - - name: Checkout + - name: Checkout on push + if: github.event_name == 'push' uses: actions/checkout@v2 + - name: Checkout on pull_request + if: github.event_name == 'pull_request' + uses: actions/checkout@v2 + with: + ref: ${{ github.event.pull_request.head.sha }} - name: reviewdog fixer uses: reviewdog/action-misspell@v1 with: github_token: ${{ secrets.GITHUB_TOKEN }} locale: "US" - level: error - name: sobolevn fixer uses: sobolevn/misspell-fixer-action@master - #- uses: peter-evans/create-pull-request@v2.4.4 - # with: - # token: ${{ secrets.GITHUB_TOKEN }} - # commit-message: 'Typos fixes' - # title: "Typos fixes" + - uses: peter-evans/create-pull-request@v2.4.4 + with: + token: ${{ secrets.GITHUB_TOKEN }} + commit-message: 'Typos fixes' + title: "Typos fixes" + branch: typos + branch-suffix: timestamp