Add first algorithmic denylist (#8358) #844
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
on: | |
push: | |
branches: | |
- main | |
tags: | |
- '[0-9]+' | |
pull_request: | |
branches: | |
- main | |
name: ci | |
jobs: | |
validate: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Install xorf-generator | |
uses: jaxxstorm/[email protected] | |
env: | |
## Allow install into PATH | |
ACTIONS_ALLOW_UNSECURE_COMMANDS: true | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
with: | |
repo: helium/xorf-generator | |
- name: Check manifest | |
run: xorf-generator manifest verify -i denylist.csv | |
- name: Check filter | |
run: xorf-generator filter generate -i denylist.csv | |
- name: Push Release | |
uses: softprops/action-gh-release@v1 | |
if: startsWith(github.ref, 'refs/tags/') | |
with: | |
files: | | |
filter.bin | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |