You've already forked library-registry
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:
4
.github/workflows/assets/accesslist.yml
vendored
Normal file
4
.github/workflows/assets/accesslist.yml
vendored
Normal 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.
|
||||
|
||||
[]
|
4
.github/workflows/manage-prs.yml
vendored
4
.github/workflows/manage-prs.yml
vendored
@ -1,7 +1,7 @@
|
||||
name: Manage PRs
|
||||
|
||||
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: |
|
||||
# GitHub user names to request reviews from in cases where PRs can't be managed automatically.
|
||||
- per1234
|
||||
@ -162,9 +162,11 @@ jobs:
|
||||
chmod u+x "${{ steps.download-parser.outputs.file-path }}"
|
||||
REQUEST="$( \
|
||||
"${{ steps.download-parser.outputs.file-path }}" \
|
||||
--accesslist=".github/workflows/assets/accesslist.yml" \
|
||||
--diffpath="${{ needs.diff.outputs.path }}/${{ needs.diff.outputs.filename }}" \
|
||||
--repopath="${{ github.workspace }}" \
|
||||
--listname="repositories.txt" \
|
||||
--submitter="${{ github.actor }}" \
|
||||
)"
|
||||
# Due to limitations of the GitHub Actions workflow system, dedicated outputs must be created for use in
|
||||
# certain workflow fields.
|
||||
|
Reference in New Issue
Block a user