Skip to content

Commit

Permalink
Super Artemis zgłoś się 😊
Browse files Browse the repository at this point in the history
Czyli rozpoczynamy migrację z PAT na GitHub App.
  • Loading branch information
hawkeye116477 committed Sep 11, 2024
1 parent 9e8230a commit c9a7985
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 19 deletions.
4 changes: 2 additions & 2 deletions .SFLB.config
Original file line number Diff line number Diff line change
@@ -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
32 changes: 16 additions & 16 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -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
9 changes: 8 additions & 1 deletion .github/workflows/updateFL.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
name: Aktualizacja listy

on:
push: null
workflow_dispatch: null

jobs:
Expand All @@ -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

0 comments on commit c9a7985

Please sign in to comment.