diff --git a/.github/workflows/pr-title-validation.yml b/.github/workflows/pr-title-validation.yml index 577d875c5..7f99b3c44 100644 --- a/.github/workflows/pr-title-validation.yml +++ b/.github/workflows/pr-title-validation.yml @@ -11,4 +11,4 @@ jobs: steps: - uses: amannn/action-semantic-pull-request@v5 env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }} diff --git a/.github/workflows/pull-request.yml b/.github/workflows/pull-request.yml index b62715b8a..0f2e5fe88 100644 --- a/.github/workflows/pull-request.yml +++ b/.github/workflows/pull-request.yml @@ -12,8 +12,8 @@ concurrency: env: JAVA_VERSION: 17 - GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_ACTOR: ${{ secrets.ATALA_GITHUB_ACTOR }} + GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }} on: pull_request: @@ -38,7 +38,7 @@ jobs: uses: actions/checkout@v4 with: submodules: recursive - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ env.GITHUB_TOKEN }} fetch-depth: 0 - name: "Install Java ${{ env.JAVA_VERSION }}" @@ -68,22 +68,21 @@ jobs: - name: "Install Linux GNU for x86_64" if: matrix.os-type == 'macos' run: | - rm '/usr/local/bin/2to3' - rm '/usr/local/bin/2to3-3.11' - rm '/usr/local/bin/2to3-3.12' - rm '/usr/local/bin/python3' - rm '/usr/local/bin/python3.11' - rm '/usr/local/bin/python3.12' - rm '/usr/local/bin/idle3' - rm '/usr/local/bin/idle3.11' - rm '/usr/local/bin/idle3.12' - rm '/usr/local/bin/pydoc3' - rm '/usr/local/bin/pydoc3.11' - rm '/usr/local/bin/pydoc3.12' - rm '/usr/local/bin/python3-config' - rm '/usr/local/bin/python3.11-config' - rm '/usr/local/bin/python3.12-config' - rm -r '/usr/local/lib/node_modules' + rm -f '/usr/local/bin/2to3' + rm -f '/usr/local/bin/2to3-3.11' + rm -f '/usr/local/bin/2to3-3.12' + rm -f '/usr/local/bin/python3' + rm -f '/usr/local/bin/python3.11' + rm -f '/usr/local/bin/python3.12' + rm -f '/usr/local/bin/idle3' + rm -f '/usr/local/bin/idle3.11' + rm -f '/usr/local/bin/idle3.12' + rm -f '/usr/local/bin/pydoc3' + rm -f '/usr/local/bin/pydoc3.11' + rm -f '/usr/local/bin/pydoc3.12' + rm -f '/usr/local/bin/python3-config' + rm -f '/usr/local/bin/python3.11-config' + rm -f '/usr/local/bin/python3.12-config' brew install --overwrite x86_64-unknown-linux-gnu - name: "Install Linux GNU for aarch64" @@ -139,7 +138,7 @@ jobs: uses: mi-kas/kover-report@v1 with: path: ${{ github.workspace }}/apollo/build/reports/kover/report.xml - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ env.GITHUB_TOKEN }} title: Code Coverage update-comment: true min-coverage-overall: 90 diff --git a/.github/workflows/release-documentation.yml b/.github/workflows/release-documentation.yml index 3d93e3683..bc549645a 100644 --- a/.github/workflows/release-documentation.yml +++ b/.github/workflows/release-documentation.yml @@ -8,8 +8,8 @@ defaults: env: JAVA_VERSION: 17 - GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_ACTOR: ${{ secrets.ATALA_GITHUB_ACTOR }} + GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }} on: workflow_dispatch: @@ -25,7 +25,7 @@ jobs: uses: actions/checkout@v4 with: submodules: recursive - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ env.GITHUB_TOKEN }} fetch-depth: 0 - name: "Validate Gradle Wrapper" @@ -66,22 +66,21 @@ jobs: - name: "Install Linux GNU for x86_64" run: | - rm '/usr/local/bin/2to3' - rm '/usr/local/bin/2to3-3.11' - rm '/usr/local/bin/2to3-3.12' - rm '/usr/local/bin/python3' - rm '/usr/local/bin/python3.11' - rm '/usr/local/bin/python3.12' - rm '/usr/local/bin/idle3' - rm '/usr/local/bin/idle3.11' - rm '/usr/local/bin/idle3.12' - rm '/usr/local/bin/pydoc3' - rm '/usr/local/bin/pydoc3.11' - rm '/usr/local/bin/pydoc3.12' - rm '/usr/local/bin/python3-config' - rm '/usr/local/bin/python3.11-config' - rm '/usr/local/bin/python3.12-config' - rm -r '/usr/local/lib/node_modules' + rm -f '/usr/local/bin/2to3' + rm -f '/usr/local/bin/2to3-3.11' + rm -f '/usr/local/bin/2to3-3.12' + rm -f '/usr/local/bin/python3' + rm -f '/usr/local/bin/python3.11' + rm -f '/usr/local/bin/python3.12' + rm -f '/usr/local/bin/idle3' + rm -f '/usr/local/bin/idle3.11' + rm -f '/usr/local/bin/idle3.12' + rm -f '/usr/local/bin/pydoc3' + rm -f '/usr/local/bin/pydoc3.11' + rm -f '/usr/local/bin/pydoc3.12' + rm -f '/usr/local/bin/python3-config' + rm -f '/usr/local/bin/python3.11-config' + rm -f '/usr/local/bin/python3.12-config' brew install --overwrite x86_64-unknown-linux-gnu - name: "Install Linux GNU for aarch64" @@ -117,5 +116,5 @@ jobs: REPO: self BRANCH: gh-pages # The branch name where you want to push the assets FOLDER: "apollo/build/dokka/html/" # The directory where your assets are generated - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} # GitHub will automatically add this - you don't need to bother getting a token + GITHUB_TOKEN: ${{ env.GITHUB_TOKEN }} # GitHub will automatically add this - you don't need to bother getting a token MESSAGE: "feat(docs): ({sha}) {msg}" # The commit message diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 7fa19ba2d..be5bba770 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,10 +12,10 @@ concurrency: env: JAVA_VERSION: 17 - GITHUB_ACTOR: ${{ secrets.GITHUB_ACTOR }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_ACTOR: ${{ secrets.ATALA_GITHUB_ACTOR }} + GITHUB_TOKEN: ${{ secrets.ATALA_GITHUB_TOKEN }} SLACK_WEBHOOK: ${{ secrets.SLACK_WEBHOOK }} - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + NPM_TOKEN: ${{ secrets.ATALA_NPM_TOKEN }} on: workflow_dispatch: @@ -28,7 +28,7 @@ jobs: uses: actions/checkout@v4 with: submodules: recursive - token: ${{ secrets.GITHUB_TOKEN }} + token: ${{ env.GITHUB_TOKEN }} fetch-depth: 0 - name: "Install Java ${{ env.JAVA_VERSION }}" @@ -52,22 +52,21 @@ jobs: - name: "Install Linux GNU for x86_64" run: | - rm '/usr/local/bin/2to3' - rm '/usr/local/bin/2to3-3.11' - rm '/usr/local/bin/2to3-3.12' - rm '/usr/local/bin/python3' - rm '/usr/local/bin/python3.11' - rm '/usr/local/bin/python3.12' - rm '/usr/local/bin/idle3' - rm '/usr/local/bin/idle3.11' - rm '/usr/local/bin/idle3.12' - rm '/usr/local/bin/pydoc3' - rm '/usr/local/bin/pydoc3.11' - rm '/usr/local/bin/pydoc3.12' - rm '/usr/local/bin/python3-config' - rm '/usr/local/bin/python3.11-config' - rm '/usr/local/bin/python3.12-config' - rm -r '/usr/local/lib/node_modules' + rm -f '/usr/local/bin/2to3' + rm -f '/usr/local/bin/2to3-3.11' + rm -f '/usr/local/bin/2to3-3.12' + rm -f '/usr/local/bin/python3' + rm -f '/usr/local/bin/python3.11' + rm -f '/usr/local/bin/python3.12' + rm -f '/usr/local/bin/idle3' + rm -f '/usr/local/bin/idle3.11' + rm -f '/usr/local/bin/idle3.12' + rm -f '/usr/local/bin/pydoc3' + rm -f '/usr/local/bin/pydoc3.11' + rm -f '/usr/local/bin/pydoc3.12' + rm -f '/usr/local/bin/python3-config' + rm -f '/usr/local/bin/python3.11-config' + rm -f '/usr/local/bin/python3.12-config' brew install --overwrite x86_64-unknown-linux-gnu - name: "Install Linux GNU for aarch64"