Fixed an issue that filtering not working when Continuous scroll is e… #151
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Build rules | |
on: | |
push: | |
branches: | |
- master | |
paths: | |
- 'build.bash' | |
- 'hosts.txt' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
if: github.repository == 'RyuaNerin/only-stackoverflow' && github.event.head_commit.author.email != '[email protected]' | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v3 | |
with: | |
persist-credentials: false | |
fetch-depth: 0 | |
- name: Build | |
run: bash build.bash | |
- name: Commit | |
run: | | |
git add only-stackoverflow.txt | |
git add ublacklist.txt | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git commit -m "Build rules" -a | |
- name: Push to protected branch | |
uses: CasperWA/push-protected@v2 | |
with: | |
token: ${{ secrets.PUSH_TO_PROTECTED_BRANCH }} | |
branch: master | |
unprotect_reviews: true |