Skip to content

Commit

Permalink
chore: refactor contributions.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
imskr committed Mar 10, 2024
1 parent 9145d48 commit 020906b
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions contributions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@

class Contributions
def run
organization = ENV[INPUT_ORGANIZATION]
project = ENV[INPUT_PROJECT]
username = ENV[INPUT_USERNAME]
readme_path = ENV[INPUT_README_PATH]
git_username = ENV[INPUT_COMMIT_USER]
git_email = ENV[INPUT_COMMIT_EMAIL]
commit_message = ENV[INPUT_COMMIT_MESSAGE] || 'Update README.md'
organization = ENV['INPUT_ORGANIZATION']
project = ENV['INPUT_PROJECT']
username = ENV['INPUT_USERNAME']
readme_path = ENV['INPUT_README_PATH']
git_username = ENV['INPUT_COMMIT_USER']
git_email = ENV['INPUT_COMMIT_EMAIL']
commit_message = ENV['INPUT_COMMIT_MESSAGE'] || 'Update README.md'

gitlab_url = "https://gitlab.com/api/v4/projects/#{organization}%2F#{project}/merge_requests?scope=all&state=merged&author_username=#{username}&per_page=1000"

Expand Down

0 comments on commit 020906b

Please sign in to comment.