diff --git a/.SFLB.config b/.SFLB.config index 0a57280c7..170f8ac63 100644 --- a/.SFLB.config +++ b/.SFLB.config @@ -1,6 +1,6 @@ @sectionsPath sections @versionFormat Year.Month.Day.TodayNumberOfCommits -@CIusername PolishRoboDog -@CIemail 35114429+PolishRoboDog@users.noreply.github.com +@CIusername super-artemis[bot] +@CIemail 181232677+super-artemis[bot]@users.noreply.github.com @messagesLang pl @tz Poland diff --git a/.circleci/config.yml b/.circleci/config.yml index bcdbb2b53..571d7a99f 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -1,16 +1,16 @@ -version: 2 -jobs: - build: - docker: - - image: polishfiltersteam/sflb_image:3.0.12 - working_directory: ~/git/KADhosts - steps: - - checkout - - run: | - python3 /usr/bin/SFLB.py KADhosts.txt KADhole.txt KADomains.txt KADdnsmasq.txt -workflows: - version: 2 - workflow: - jobs: - - build: - context: org-global +# version: 2 +# jobs: +# build: +# docker: +# - image: polishfiltersteam/sflb_image:3.0.12 +# working_directory: ~/git/KADhosts +# steps: +# - checkout +# - run: | +# python3 /usr/bin/SFLB.py KADhosts.txt KADhole.txt KADomains.txt KADdnsmasq.txt +# workflows: +# version: 2 +# workflow: +# jobs: +# - build: +# context: org-global diff --git a/.github/workflows/updateFL.yml b/.github/workflows/updateFL.yml index 523064cbd..ed230caa3 100644 --- a/.github/workflows/updateFL.yml +++ b/.github/workflows/updateFL.yml @@ -1,6 +1,7 @@ name: Aktualizacja listy on: + push: null workflow_dispatch: null jobs: @@ -13,9 +14,15 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 + persist-credentials: false + - uses: actions/create-github-app-token@v1 + id: app-token + with: + app-id: 994739 + private-key: ${{ secrets.PRIVATE_APP_HELPER_KEY }} - name: Aktualizacja całej listy env: - GIT_TOKEN: ${{ secrets.GIT_TOKEN }} + GIT_TOKEN: ${{ steps.app-token.outputs.token }} run: | git config --global --add safe.directory "$GITHUB_WORKSPACE" python3 "/usr/bin/SFLB.py" KADhosts.txt KADhole.txt KADomains.txt KADdnsmasq.txt