New workflow: add-runtime-custom-property #1
Workflow file for this run
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
# action that runs monthly and add runtime as a custom property | |
# to all repositories in this organization | |
name: Add Runtime as Custom Property to Repositories | |
on: | |
schedule: | |
- cron: '0 0 22 * *' | |
workflow_dispatch: | |
pull_request: | |
types: [opened, synchronize, reopened, ready_for_review] | |
branches: [main, master, staging, development, devel, dev] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
with: | |
repository: ${{ secrets.RUNTIME_REPOSITORY }} | |
token: ${{ secrets.RUNTIME_REPO_READ_TOKEN }} | |
- uses: brave/security-action/actions/add-runtime-custom-property@features/update-runtime-property | |
with: | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
static_repositories: ${{ secrets.STATIC_WEBSITE_REPOSITORIES }} | |
runtime_directory: ${{ github.workspace }} |