Skip to content

Commit

Permalink
New workflow: add-runtime-custom-property
Browse files Browse the repository at this point in the history
  • Loading branch information
thypon committed Jun 14, 2024
1 parent 5119ab6 commit 0f44140
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/add-runtime-custom-property.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
# 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@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6
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 }}

0 comments on commit 0f44140

Please sign in to comment.