+ repository-metadata:
+ name: "Repository Metadata"
+ runs-on: ubuntu-latest
+ permissions:
+ contents: read
+ pull-requests: read
+ timeout-minutes: 5
+ steps:
+ # yamllint disable-line rule:line-length
+ - uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
+ with:
+ egress-policy: audit
+
+ # yamllint disable-line rule:line-length
+ - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
+ with:
+ fetch-depth: 0
+
+ - name: "Gather repository metadata"
+ id: repo-metadata
+ # yamllint disable-line rule:line-length
+ uses: lfreleng-actions/repository-metadata-action@ceabcd987d13d7bfefd2372e01eebb0ddac45956 # v0.2.0
+ with:
+ github_token: ${{ secrets.GITHUB_TOKEN }}
+ github_summary: 'true'
+ files_summary: 'true'
+ artifact_upload: 'true'
+ artifact_formats: 'json'
+
+ notify:
+ if: github.event_name == 'workflow_dispatch' && inputs.GERRIT_DISABLED != true
+ runs-on: ubuntu-latest
+ steps:
+ # Harden the runner used by this workflow
+ # yamllint disable-line rule:line-length
+ - uses: step-security/harden-runner@e3f713f2d8f53843e71c69a996d56f51aa9adfb9 # v2.14.1
+ with:
+ egress-policy: audit
+
+ - name: Notify job start
+ # yamllint disable-line rule:line-length
+ uses: lfreleng-actions/gerrit-review-action@6d2e00dfd3173cd9a36d11350c8fba44731c7b4e # v0.10.0
+ with:
+ host: ${{ vars.GERRIT_SERVER }}
+ username: ${{ vars.GERRIT_SSH_USER }}
+ key: ${{ secrets.GERRIT_SSH_PRIVKEY }}
+ known_hosts: ${{ vars.GERRIT_KNOWN_HOSTS }}
+ gerrit-change-number: ${{ inputs.GERRIT_CHANGE_NUMBER }}
+ gerrit-patchset-number: ${{ inputs.GERRIT_PATCHSET_NUMBER }}
+ vote-type: clear
+ - name: Allow replication
+ run: sleep 10s
+