Skip to content

Commit b234786

Browse files
committed
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.
1 parent ab03186 commit b234786

File tree

2 files changed

+7
-1
lines changed

2 files changed

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

.github/workflows/manage-prs.yml

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Manage PRs
22

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

0 commit comments

Comments
 (0)