Application Security Feed #45769
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: Application Security Feed | |
on: | |
workflow_dispatch: | |
schedule: | |
- cron: '* */1 * * *' # every 1 hour | |
jobs: | |
container_feed_job: | |
runs-on: ubuntu-latest | |
name: A job to update container security feed | |
steps: | |
- uses: actions/checkout@v2 | |
- name: update container feed | |
uses: docker://ghcr.io/ssst0n3/ghsa-notify:v1 | |
env: | |
GHTOKEN: ${{ secrets.github_token }} | |
feed: "feed/app.xml" | |
packages: '["github.com/minio/minio"]' | |
- name: Commit | |
shell: /usr/bin/bash {0} | |
run: | | |
git config --global user.name ${{ github.repository_owner }} | |
git config --global user.email '${{ github.repository_owner }}@users.noreply.github.com' | |
git add feed/container.xml | |
git commit -m "Automated update container feed" | |
git push origin main |