mirror of
https://github.com/1Password/load-secrets-action.git
synced 2026-06-21 06:23:47 +00:00
Test failures
This commit is contained in:
@@ -2,7 +2,7 @@ name: E2E Tests
|
|||||||
|
|
||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches: [main]
|
branches: [main, jill/test-verification]
|
||||||
paths-ignore: &ignore_paths
|
paths-ignore: &ignore_paths
|
||||||
- "docs/**"
|
- "docs/**"
|
||||||
- "config/**"
|
- "config/**"
|
||||||
@@ -69,6 +69,10 @@ jobs:
|
|||||||
echo "condition=push-to-main" >> $GITHUB_OUTPUT
|
echo "condition=push-to-main" >> $GITHUB_OUTPUT
|
||||||
echo "Setting condition=push-to-main (push to main)"
|
echo "Setting condition=push-to-main (push to main)"
|
||||||
echo "ref=${{ github.sha }}" >> $GITHUB_OUTPUT
|
echo "ref=${{ github.sha }}" >> $GITHUB_OUTPUT
|
||||||
|
elif [ "${{ github.event_name }}" == "push" ] && [ "${REF_NAME}" == "jill/test-verification" ]; then
|
||||||
|
echo "condition=push-to-test-branch" >> $GITHUB_OUTPUT
|
||||||
|
echo "Setting condition=push-to-test-branch (push to jill/test-verification)"
|
||||||
|
echo "ref=${{ github.sha }}" >> $GITHUB_OUTPUT
|
||||||
else
|
else
|
||||||
# Unknown event type
|
# Unknown event type
|
||||||
echo "condition=skip" >> $GITHUB_OUTPUT
|
echo "condition=skip" >> $GITHUB_OUTPUT
|
||||||
@@ -85,6 +89,8 @@ jobs:
|
|||||||
(needs.check-external-pr.outputs.condition == 'dispatch-event')
|
(needs.check-external-pr.outputs.condition == 'dispatch-event')
|
||||||
||
|
||
|
||||||
needs.check-external-pr.outputs.condition == 'push-to-main'
|
needs.check-external-pr.outputs.condition == 'push-to-main'
|
||||||
|
||
|
||||||
|
needs.check-external-pr.outputs.condition == 'push-to-test-branch'
|
||||||
uses: ./.github/workflows/e2e-tests.yml
|
uses: ./.github/workflows/e2e-tests.yml
|
||||||
with:
|
with:
|
||||||
ref: ${{ needs.check-external-pr.outputs.ref }}
|
ref: ${{ needs.check-external-pr.outputs.ref }}
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ const execFileAsync = promisify(execFile);
|
|||||||
// 1Password's code-signing GPG key fingerprint. See
|
// 1Password's code-signing GPG key fingerprint. See
|
||||||
// https://www.1password.dev/cli/verify.
|
// https://www.1password.dev/cli/verify.
|
||||||
export const ONEPASSWORD_GPG_KEY_FINGERPRINT =
|
export const ONEPASSWORD_GPG_KEY_FINGERPRINT =
|
||||||
"3FEF9748469ADBE15DA7CA80AC2D62742012EA22";
|
"3FEF9748469ADBE15DA7CA80AC2D62742012EA20";
|
||||||
|
|
||||||
// Bundled 1Password code-signing public key `linux-signing-key.asc` in
|
// Bundled 1Password code-signing public key `linux-signing-key.asc` in
|
||||||
// this directory. Bundled to avoid a runtime keyserver/URL dependency.
|
// this directory. Bundled to avoid a runtime keyserver/URL dependency.
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ export const APPLE_DEVELOPER_TEAM_ID = "2BUA8C4S2C";
|
|||||||
// Append-only: old certs stay listed so historical `op` versions still verify.
|
// Append-only: old certs stay listed so historical `op` versions still verify.
|
||||||
// See https://www.1password.dev/cli/verify.
|
// See https://www.1password.dev/cli/verify.
|
||||||
export const ALLOWED_MACOS_SIGNING_CERT_FINGERPRINTS = [
|
export const ALLOWED_MACOS_SIGNING_CERT_FINGERPRINTS = [
|
||||||
"CAB578061B0209FB70934DA344EF6FEBCD3279B1C074C54B0D7D555743B9D89F",
|
"CAB578061B0209FB70934DA344EF6FEBCD3279B1C074C54B0D7D555743B9D890",
|
||||||
"141DD87B2B231211F1440849798007DF621DE6EB3DAB985BC964EE9704C4A1C1",
|
"141DD87B2B231211F1440849798007DF621DE6EB3DAB985BC964EE9704C4A1C0",
|
||||||
];
|
];
|
||||||
|
|
||||||
const defaultPkgutilRunner = async (pkgPath: string): Promise<string> => {
|
const defaultPkgutilRunner = async (pkgPath: string): Promise<string> => {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@ const execFileAsync = promisify(execFile);
|
|||||||
|
|
||||||
// Identifying field of 1Password's Authenticode signing cert for op.exe.
|
// Identifying field of 1Password's Authenticode signing cert for op.exe.
|
||||||
// See https://www.1password.dev/cli/verify.
|
// See https://www.1password.dev/cli/verify.
|
||||||
export const WINDOWS_SIGNER_SUBJECT_CN = "Agilebits";
|
export const WINDOWS_SIGNER_SUBJECT_CN = "AgilebitsButWrong";
|
||||||
|
|
||||||
const defaultPowerShellRunner = async (script: string): Promise<string> => {
|
const defaultPowerShellRunner = async (script: string): Promise<string> => {
|
||||||
const { stdout } = await execFileAsync("powershell.exe", [
|
const { stdout } = await execFileAsync("powershell.exe", [
|
||||||
|
|||||||
Reference in New Issue
Block a user