Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

workflows: security-action migration #6

Merged
merged 1 commit into from
Jun 7, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions .github/workflows/add-maintainer-custom-property.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# action that runs monthly and add maintainer as a custom property
# to all repositories in this organization
name: Add Maintainer as Custom Property to Repositories
on:
schedule:
- cron: '0 0 27 * *'
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: brave/security-action/actions/add-maintainer-custom-property@main
with:
ignore_maintainers: brave-builds,brave-browser-releases,brave-support-admin
debug: false
github_token: ${{ secrets.CUSTOM_PROPERTY_MANAGER_GITHUB_TOKEN }}
slack_token: ${{ secrets.HOTSPOTS_SLACK_TOKEN }}
16 changes: 16 additions & 0 deletions .github/workflows/check-new-repos.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Check New Repos
on:
schedule:
# nightly (0th hour 0th minute of every day)
- cron: '0 0 * * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: check new repos
uses: brave/security-action/actions/check-new-repos@main
with:
github_token: ${{ secrets.ORG_READ_GITHUB_TOKEN }}
slack_token: ${{ secrets.HOTSPOTS_SLACK_TOKEN }}
debug: false
16 changes: 16 additions & 0 deletions .github/workflows/dependabot-auto-dismiss.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Weekly Dependabot Auto Dismiss
on:
schedule:
# Run at 24:00 UTC every Monday
- cron: "0 0 * * 1"
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: dependabot auto dismiss
uses: brave/security-action/actions/dependabot-auto-dismiss@main
with:
github_token: ${{ secrets.DEPENDABOT_AUTO_DISMISS_GITHUB_TOKEN }}
slack_token: ${{ secrets.HOTSPOTS_SLACK_TOKEN }}
debug: false
17 changes: 17 additions & 0 deletions .github/workflows/dependabot-nudge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Weekly Dependabot Nudge
on:
schedule:
# Run at 9am UTC every Monday
- cron: "0 9 * * 1"
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: dependabot nudge
uses: brave/security-action/actions/dependabot-nudge@main
with:
github_token: ${{ secrets.DEPENDABOT_NUDGE_GITHUB_TOKEN }}
slack_token: ${{ secrets.HOTSPOTS_SLACK_TOKEN }}
gh_to_slack_user_map: ${{ secrets.GH_TO_SLACK_USER_MAP }}
debug: false
16 changes: 16 additions & 0 deletions .github/workflows/older-than-2y.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
name: Older Than 2 Years Informer
on:
schedule:
# Every month, first day of the month
- cron: '0 0 1 * *'
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: older than 2 years informer
uses: brave/security-action/actions/older-than-2y@main
with:
github_token: ${{ secrets.ORG_READ_GITHUB_TOKEN }}
slack_token: ${{ secrets.HOTSPOTS_SLACK_TOKEN }}
debug: false
17 changes: 17 additions & 0 deletions .github/workflows/renovate-sanity-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# action that runs monthly and check if all repositories in the organization are following the renovate central configuration
# to all repositories in this organization
name: Renovate Sanity Check
on:
schedule:
- cron: '0 0 15 * *'
workflow_dispatch:
jobs:
run:
runs-on: ubuntu-latest
steps:
- name: Renovate Sanity Check
uses: brave/security-action/actions/renovate-sanity-check@main
with:
github_token: ${{ secrets.CUSTOM_PROPERTY_MANAGER_GITHUB_TOKEN }}
slack_token: ${{ secrets.HOTSPOTS_SLACK_TOKEN }}
debug: false