From a2e0a03012b135a716e44b195bfc440fc5410d3a Mon Sep 17 00:00:00 2001 From: Andrei Jiroh Halili Date: Thu, 25 Jul 2024 15:25:57 +0800 Subject: [PATCH] work on fixing secret-related failures and update labels --- .github/labels.yml | 4 +++- .github/workflows/labels.yml | 12 ++++++++++-- 2 files changed, 13 insertions(+), 3 deletions(-) diff --git a/.github/labels.yml b/.github/labels.yml index 464ac25..d5d8a8a 100644 --- a/.github/labels.yml +++ b/.github/labels.yml @@ -33,9 +33,11 @@ # project specifics - name: hackclub-acrade - description: ec3750 + color: ec3750 + description: Issues relating to participation on Hack Club Arcade - name: open-source color: ffffff + descriptions: Issues relating to open-source work and projects. ## GitHub issue form identifiers - name: 'gh-issue-form: default' diff --git a/.github/workflows/labels.yml b/.github/workflows/labels.yml index d706bcb..0fdd9dc 100644 --- a/.github/workflows/labels.yml +++ b/.github/workflows/labels.yml @@ -14,11 +14,19 @@ jobs: steps: - name: Checkout uses: actions/checkout@v3 + - name: Download .env.ci from central repo + run: wget -O .env.ci https://github.com/andreijiroh-dev/dotenvx-secretstore/raw/main/.env.ci + - name: Load secrets via dotenvx + uses: andreijiroh-dev/dotenvx-action@main + with: + path: .env.ci + key: ${{ secrets.DOTENV_META_SECRETS_KEY_CI }} + id: dotenvx - uses: actions/create-github-app-token@v1 id: app-token with: - app-id: ${{ secrets.GH_RTDEV_APP_CLIENT_ID }} - private-key: ${{ secrets.GH_RTDEV_APP_KEY }} + app-id: ${{ steps.dotenvx.outputs.GH_APP_ID }} + private-key: ${{ steps.dotenvx.outputs.GH_APP_KEY }} - name: Sync labels using config uses: crazy-max/ghaction-github-labeler@v5 with: -- 2.51.2