From 5ba8da9b3f5d6eb9eedf96f8b0c294e96e16f62d Mon Sep 17 00:00:00 2001 From: minoplhy Date: Sun, 1 Aug 2021 10:43:21 +0700 Subject: [PATCH] Fixing Attempt #8? --- action.yml | 4 ++++ filters.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 0901945..a35923e 100644 --- a/action.yml +++ b/action.yml @@ -8,6 +8,9 @@ inputs: Destination_NAME: description: "destination's name of repo" required: true + Destination_UNAME: + description: "Idk" + required: true Destination_REPO: description: "repo name" required: true @@ -29,6 +32,7 @@ runs: image: "Dockerfile" args: - ${{ inputs.Destination_NAME }} + - ${{ inputs.Destination_UNAME }} - ${{ inputs.Destination_REPO }} - ${{ inputs.Destination_VERSION }} - ${{ inputs.GIT_NAME }} diff --git a/filters.sh b/filters.sh index 96b02cb..2d436ac 100644 --- a/filters.sh +++ b/filters.sh @@ -5,7 +5,7 @@ pip3 install -r /filters-maker/requirements.txt python3 /filters-maker/crawler.py /filters-maker/input/domains.txt python3 /filters-maker/maker-rpz.py /filtes-maker/input/domains.txt /repros/$Destination_VERSION/rpz.txt cd /repros -git remote add destination https://x-access-token:$API_TOKEN_GITHUB@github.com/$Destination_REPO.git +git remote add destination https://x-access-token:$API_TOKEN_GITHUB@github.com/$Destination_UNAME/$Destination_REPO.git git config --local user.name $GIT_NAME git config --local user.email $GIT_EMAIL git add .