Skip to content

Commit 0ddd24a

Browse files
ci: remove protobuf access token from workflows
This is no longer required as the protobuf repo is now public.
1 parent d7beb05 commit 0ddd24a

File tree

3 files changed

+1
-15
lines changed

3 files changed

+1
-15
lines changed

.github/actions/package/action.yml

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
name: "Build packages"
22
description: "Build RPM and DEB packages for multiple architectures"
33

4-
inputs:
5-
CI_PROTOBUF_ACCESS_TOKEN:
6-
description: "Access token for protobuf repo"
7-
required: true
8-
94
runs:
105
using: "composite"
116
steps:
@@ -28,10 +23,6 @@ runs:
2823
mkdir -p ${HOME}/zig
2924
tar -xJ -C ${HOME}/zig --strip-components=1 -f zig.tar.xz
3025
echo ${HOME}/zig >> ${GITHUB_PATH}
31-
- name: Configure foreign git repos
32-
# Make sure the runner has access to the protobuf repo using an access token
33-
shell: bash
34-
run: git config --global url."https://${{ inputs.CI_PROTOBUF_ACCESS_TOKEN }}@github.com/thinkparq/protobuf".insteadOf https://github.com/thinkparq/protobuf
3526
- name: Run checks and tests
3627
shell: bash
3728
run: |

.github/workflows/checks.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,6 @@ jobs:
2121
run: |
2222
rustup toolchain install nightly
2323
rustup component add --toolchain nightly rustfmt
24-
- name: Configure foreign git repos
25-
# Make sure the runner has access to the protobuf repo using an access token
26-
run: git config --global url."https://${{ secrets.CI_PROTOBUF_ACCESS }}@github.com/thinkparq/protobuf".insteadOf https://github.com/thinkparq/protobuf
2724
- name: Checks
2825
run: make check
2926
- name: Run tests

.github/workflows/release.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,6 @@ jobs:
2222
fetch-depth: 0
2323
- name: Build Packages
2424
uses: ./.github/actions/package
25-
with:
26-
CI_PROTOBUF_ACCESS_TOKEN: ${{ secrets.CI_PROTOBUF_ACCESS }}
2725
- name: Import GPG key
2826
id: import_gpg
2927
uses: crazy-max/ghaction-import-gpg@v6
@@ -34,7 +32,7 @@ jobs:
3432
run: |
3533
cd target/package
3634
export GPG_TTY=$(tty)
37-
gpg --pinentry-mode loopback --passphrase ${{ secrets.PUBLICREPO_GPGPACKAGEPASSPHRASE }} --trust-model always --detach-sign -o checksums.txt.sig -r [email protected] checksums.txt
35+
gpg --pinentry-mode loopback --passphrase ${{ secrets.PUBLICREPO_GPGPACKAGEPASSPHRASE }} --trust-model always --detach-sign -o checksums.txt.sig -r [email protected] checksums.txt
3836
- name: Create Release
3937
uses: ncipollo/release-action@v1
4038
with:

0 commit comments

Comments
 (0)