Skip to content

Update Repo Custom Properties #4

Update Repo Custom Properties

Update Repo Custom Properties #4

name: Update Repo Custom Properties
description: Updates the repo custom properties as defined in the provided governance repo, repo-properties.yaml file.
on:
workflow_dispatch:
permissions:
id-token: read

Check failure on line 9 in .github/workflows/update-properties.yaml

View workflow run for this annotation

GitHub Actions / Update Repo Custom Properties

Invalid workflow file

The workflow is not valid. .github/workflows/update-properties.yaml (Line: 9, Col: 13): Unexpected value 'read'
contents: read
actions: read
jobs:
update-properties:
runs-on: ubuntu-latest
steps:
- name: Checkout Code
id: checkout_code
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
with:
fetch-depth: "0"
ref: ${{ steps.validate.outputs.build-tag }}
- name: List current checkout
run: |
echo "Cloned current repo"
echo "Running ls now"
ls -la
- uses: andrewb1269hg/update-custom-props@3-create-action-to-update-custom-properties-in-a-repo
with:
governance-repo-url: 'https://github.com/org-andrewb1269hg/my-governance-repo.git'