1
0
mirror of https://github.com/arduino/library-registry.git synced 2025-07-09 01:42:00 +03:00

Update library-registry-submission-parser tool

The "Manage PRs" GitHub Actions workflow uses a command line tool named "library-registry-submission-parser" to parse
the pull requests submitted to this repository.

A new version of "library-registry-submission-parser" has been released, and so the version specified in the workflow
for use is hereby updated.

Two additional mandatory flags have been added to the command line interface of library-registry-submission-parser, so
these flags are added to the invocation, and an access control configuration file added to the repository as required
for use with the new `--accesslist` flag. To start, the access control configuration file is left empty, giving all
users default access privileges as before. The workflow will be adjusted to take advantage of the newly added access
control capabilities of library-registry-submission-parser in a separate commit.
This commit is contained in:
per1234
2025-01-12 01:40:10 -08:00
parent ab03186d81
commit b2347865d6
2 changed files with 7 additions and 1 deletions

View File

@ -0,0 +1,4 @@
# Access control for the Arduino Library Manager registry.
# This file is used by https://github.com/arduino/library-registry-submission-parser, via the "Manage PRs" workflow.
[]

View File

@ -1,7 +1,7 @@
name: Manage PRs name: Manage PRs
env: env:
SUBMISSION_PARSER_VERSION: 1.1.1 # See: https://github.com/arduino/library-manager-submission-parser/releases SUBMISSION_PARSER_VERSION: 2.0.0 # See: https://github.com/arduino/library-manager-submission-parser/releases
MAINTAINERS: | MAINTAINERS: |
# GitHub user names to request reviews from in cases where PRs can't be managed automatically. # GitHub user names to request reviews from in cases where PRs can't be managed automatically.
- per1234 - per1234
@ -162,9 +162,11 @@ jobs:
chmod u+x "${{ steps.download-parser.outputs.file-path }}" chmod u+x "${{ steps.download-parser.outputs.file-path }}"
REQUEST="$( \ REQUEST="$( \
"${{ steps.download-parser.outputs.file-path }}" \ "${{ steps.download-parser.outputs.file-path }}" \
--accesslist=".github/workflows/assets/accesslist.yml" \
--diffpath="${{ needs.diff.outputs.path }}/${{ needs.diff.outputs.filename }}" \ --diffpath="${{ needs.diff.outputs.path }}/${{ needs.diff.outputs.filename }}" \
--repopath="${{ github.workspace }}" \ --repopath="${{ github.workspace }}" \
--listname="repositories.txt" \ --listname="repositories.txt" \
--submitter="${{ github.actor }}" \
)" )"
# Due to limitations of the GitHub Actions workflow system, dedicated outputs must be created for use in # Due to limitations of the GitHub Actions workflow system, dedicated outputs must be created for use in
# certain workflow fields. # certain workflow fields.