Merge pull request #12 from underdog-tech/feat/update-vulnbot-v1.0.0 #10
This file contains hidden or 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: VulnBot Action | |
| on: | |
| push: | |
| branches: ["main"] | |
| jobs: | |
| test: | |
| name: Test | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Create .env file | |
| run: | | |
| echo "SLACK_AUTH_TOKEN=${{ secrets.SLACK_AUTH_TOKEN }}" > .env | |
| echo "GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }}" >> .env | |
| echo "GITHUB_ORG=${{ secrets.GITHUB_ORG }}" >> .env | |
| - name: Send report | |
| uses: ./ # Using the action defined in the same repository. | |
| with: | |
| config: "tests/config.toml" |