Skip to content

Add Runtime as Custom Property to Repositories #13

Add Runtime as Custom Property to Repositories

Add Runtime as Custom Property to Repositories #13

# 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:
jobs:
run:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
repository: ${{ secrets.RUNTIME_REPOSITORY }}
token: ${{ secrets.RUNTIME_REPO_READ_TOKEN }}
- uses: brave/security-action/actions/add-runtime-custom-property@main
with:
github_token: ${{ secrets.CUSTOM_PROPERTY_MANAGER_GITHUB_TOKEN }}
static_repositories: ${{ secrets.STATIC_WEBSITE_REPOSITORIES }}
runtime_directory: ${{ github.workspace }}