Skip to content

Commit

Permalink
update workflows entirely
Browse files Browse the repository at this point in the history
  • Loading branch information
BehnH committed Apr 16, 2023
1 parent 250a121 commit 44b8497
Show file tree
Hide file tree
Showing 2 changed files with 41 additions and 50 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,47 @@ on:
- main

jobs:
reviewdog-github-check:
permissions:
checks: write
contents: read
pull-requests: write
name: reviewdog (github-check)
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install cairo
run: |
sudo apt update
sudo apt install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
- name: Run reviewdog
uses: reviewdog/action-eslint@v1
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
reporter: github-check # Change reporter.
reviewdog-pr:
permissions:
checks: write
contents: read
pull-requests: write
if: github.event_name == 'pull_request'
name: reviewdog on Pull Request
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Install cairo
run: |
sudo apt update
sudo apt install -y build-essential libcairo2-dev libpango1.0-dev libjpeg-dev libgif-dev librsvg2-dev
- name: Run reviewdog
uses: reviewdog/action-eslint@v1
env:
REVIEWDOG_GITHUB_API_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
reporter: github-pr-review # Change reporter.
build-and-push-image:
runs-on: ubuntu-latest
permissions:
Expand Down
50 changes: 0 additions & 50 deletions .github/workflows/reviewdog.yml

This file was deleted.

0 comments on commit 44b8497

Please sign in to comment.