1414 matrix :
1515 mode : ['cache', 'proxy']
1616 steps :
17+ -
uses :
/actions/instrument/[email protected] 18+ env :
19+ OTEL_EXPORTER_OTLP_ENDPOINT : ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}
20+ OTEL_EXPORTER_OTLP_HEADERS : ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}
21+ with :
22+ secrets_to_redact : ' ["${{ github.token }}"]'
1723 - run : sudo apt-get update && sudo apt-get install -y debconf-utils
1824 - run : echo gitaptly gitaptly/MODE string ${{ matrix.mode }} | sudo debconf-set-selections
1925 - run : curl https://api.github.com/repos/plengauer/abom-http/releases/latest | jq -r '.assets[].browser_download_url' | xargs wget -O ./abomhttp.deb && sudo apt-get install ./abomhttp.deb
@@ -29,14 +35,21 @@ jobs:
2935 - run : sudo apt-get update --allow-insecure-repositories
3036 - run : sudo apt-get -y install --allow-unauthenticated auto-management
3137 - run : sudo apt-get -y remove gitaptly
32-
38+ permissions :
39+ actions : read
3340 test-token :
3441 needs : build
3542 runs-on : ubuntu-latest
3643 strategy :
3744 matrix :
3845 mode : ['cache', 'proxy']
3946 steps :
47+ -
uses :
/actions/instrument/[email protected] 48+ env :
49+ OTEL_EXPORTER_OTLP_ENDPOINT : ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}
50+ OTEL_EXPORTER_OTLP_HEADERS : ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}
51+ with :
52+ secrets_to_redact : ' ["${{ github.token }}","${{ secrets.GITHUB_TOKEN }}"]'
4053 - run : sudo apt-get update && sudo apt-get install -y debconf-utils
4154 - run : echo gitaptly gitaptly/MODE string ${{ matrix.mode }} | sudo debconf-set-selections
4255 - run : curl https://api.github.com/repos/plengauer/abom-http/releases/latest | jq -r '.assets[].browser_download_url' | xargs wget -O ./abomhttp.deb && sudo apt-get install ./abomhttp.deb
@@ -51,18 +64,25 @@ jobs:
5164 - run : sudo apt-get update --allow-insecure-repositories
5265 - run : sudo apt-get -y install --allow-unauthenticated auto-management
5366 - run : sudo apt-get -y remove gitaptly
54-
67+ permissions :
68+ actions : read
5569 test-observed :
5670 needs : build
5771 runs-on : ubuntu-latest
5872 strategy :
5973 matrix :
6074 mode : ['cache', 'proxy']
6175 steps :
76+ -
uses :
/actions/instrument/[email protected] 77+ env :
78+ OTEL_EXPORTER_OTLP_ENDPOINT : ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}
79+ OTEL_EXPORTER_OTLP_HEADERS : ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}
80+ with :
81+ secrets_to_redact : ' ["${{ github.token }}"]'
6282 - run : sudo apt-get update && sudo apt-get install -y debconf-utils
6383 - run : echo gitaptly gitaptly/MODE string ${{ matrix.mode }} | sudo debconf-set-selections
6484 - run : curl https://api.github.com/repos/plengauer/abom-http/releases/latest | jq -r '.assets[].browser_download_url' | xargs wget -O ./abomhttp.deb && sudo apt-get install ./abomhttp.deb
65- - run : wget -O - https://raw.githubusercontent.com/plengauer/opentelemetry-bash /main/INSTALL.sh | sh -E
85+ - run : wget -O - https://raw.githubusercontent.com//main/INSTALL.sh | sh -E
66866787 with :
6888 name : package.deb
@@ -71,14 +91,21 @@ jobs:
7191 - run : sudo apt-get update --allow-insecure-repositories
7292 - run : sudo apt-get -y install --allow-unauthenticated auto-management
7393 - run : sudo apt-get -y remove gitaptly
74-
94+ permissions :
95+ actions : read
7596 test-upgrade :
7697 needs : build
7798 runs-on : ubuntu-latest
7899 strategy :
79100 matrix :
80101 mode : ['cache', 'proxy']
81102 steps :
103+ -
uses :
/actions/instrument/[email protected] 104+ env :
105+ OTEL_EXPORTER_OTLP_ENDPOINT : ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}
106+ OTEL_EXPORTER_OTLP_HEADERS : ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}
107+ with :
108+ secrets_to_redact : ' ["${{ github.token }}"]'
82109 - run : sudo apt-get update && sudo apt-get install -y debconf-utils
83110 - run : echo gitaptly gitaptly/MODE string ${{ matrix.mode }} | sudo debconf-set-selections
84111 - run : curl https://api.github.com/repos/plengauer/abom-http/releases/latest | jq -r '.assets[].browser_download_url' | xargs wget -O ./abomhttp.deb && sudo apt-get install ./abomhttp.deb
@@ -97,9 +124,18 @@ jobs:
97124 - run : sudo apt-get update --allow-insecure-repositories
98125 - run : sudo apt-get -y install --allow-unauthenticated auto-management
99126 - run : sudo apt-get -y remove gitaptly
100-
127+ permissions :
128+ actions : read
101129 test-all :
102130 needs : [ test-clean-install, test-token, test-observed, test-upgrade ]
103131 runs-on : ubuntu-latest
104132 steps :
133+ -
uses :
/actions/instrument/[email protected] 134+ env :
135+ OTEL_EXPORTER_OTLP_ENDPOINT : ${{ secrets.OTEL_EXPORTER_OTLP_ENDPOINT }}
136+ OTEL_EXPORTER_OTLP_HEADERS : ${{ secrets.OTEL_EXPORTER_OTLP_HEADERS }}
137+ with :
138+ secrets_to_redact : ' ["${{ github.token }}"]'
105139 - run : exit 0
140+ permissions :
141+ actions : read
0 commit comments