Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tweak workflow script #17774

Merged
merged 5 commits into from Feb 27, 2023
Merged

Tweak workflow script #17774

merged 5 commits into from Feb 27, 2023

Conversation

ryandesign
Copy link
Contributor

Description

Tweak workflow script for better accuracy and hopefully to address the error that occurs when no port files were modified (https://trac.macports.org/ticket/62071).

Type(s)
  • bugfix
  • enhancement
  • security fix

Only match files named exactly "Portfile", not other files whose names
start with "Portfile".
Periods do not have the special meaning "any character" in character
classes so there is no need to escape them there.
There does not seem to be any need to treat portlist as an array in this
step since we only ever get the entire array here, and in subsequent
steps we already treat it as string. Getting the entire array fails if
there are no elements (i.e. if the commit only modified files that are
not port files).

See: https://trac.macports.org/ticket/62071
@macportsbot macportsbot added the by: member Created by a member with commit rights label Feb 23, 2023
@neverpanic neverpanic merged commit 99d7736 into master Feb 27, 2023
@neverpanic neverpanic deleted the workflows branch February 27, 2023 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
by: member Created by a member with commit rights
3 participants