Skip to content

Commit

Permalink
Add support for Base64 Encoded rulesets
Browse files Browse the repository at this point in the history
Closes #8
  • Loading branch information
JeroenKnoops committed Feb 15, 2022
1 parent 164cc51 commit 1ecc97b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ branding:
color: purple
inputs:
ruleset:
description: 'file path or url that links to a ruleset config file'
description: 'Base64 encoded ruleset config file or url to ruleset config file.'
required: true
gh_token:
description: 'Github token that has permissions to create labels, issues and has read rights to view files.'
Expand Down
4 changes: 2 additions & 2 deletions bin/loop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ then
echo "Link valid"
check_target_repos "--rulesetUrl"
else
echo "No link, assuming file path"
check_target_repos "-r"
echo "No link, assuming base64 encoded file"
check_target_repos "-r ""$RULESET"""
fi

0 comments on commit 1ecc97b

Please sign in to comment.