Browse Source

Pin all gh-actions hashes to master (#177)

pull/179/head
Vince Grassia 2 years ago committed by GitHub
parent
commit
c52be0f512
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      .github/workflows/DCT-test.yml
  2. 6
      .github/workflows/build-unified.yml
  3. 2
      .github/workflows/release-digital-ocean.yml
  4. 2
      .github/workflows/release-web-latest.yml
  5. 8
      .github/workflows/update-links.yml
  6. 6
      .github/workflows/update-versions.yml

2
.github/workflows/DCT-test.yml

@ -27,7 +27,7 @@ jobs:
########## DockerHub ########## ########## DockerHub ##########
- name: Setup DCT - name: Setup DCT
id: setup-dct id: setup-dct
uses: bitwarden/gh-actions/setup-docker-trust@082f5e05ed97c3601c6f3179250b1a761c4d647f uses: bitwarden/gh-actions/setup-docker-trust@master
with: with:
azure-creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }} azure-creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}
azure-keyvault-name: "bitwarden-ci" azure-keyvault-name: "bitwarden-ci"

6
.github/workflows/build-unified.yml

@ -98,14 +98,14 @@ jobs:
- name: Retrieve github PAT secrets - name: Retrieve github PAT secrets
id: retrieve-secret-pat id: retrieve-secret-pat
uses: bitwarden/gh-actions/get-keyvault-secrets@c86ced0dc8c9daeecf057a6333e6f318db9c5a2b uses: bitwarden/gh-actions/get-keyvault-secrets@master
with: with:
keyvault: "bitwarden-ci" keyvault: "bitwarden-ci"
secrets: "github-pat-bitwarden-devops-bot-repo-scope" secrets: "github-pat-bitwarden-devops-bot-repo-scope"
- name: Setup Docker Trust - name: Setup Docker Trust
if: ${{ env.is_publish_branch == 'true' }} if: ${{ env.is_publish_branch == 'true' }}
uses: bitwarden/gh-actions/setup-docker-trust@082f5e05ed97c3601c6f3179250b1a761c4d647f uses: bitwarden/gh-actions/setup-docker-trust@master
with: with:
azure-creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }} azure-creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}
azure-keyvault-name: "bitwarden-ci" azure-keyvault-name: "bitwarden-ci"
@ -191,7 +191,7 @@ jobs:
- name: Retrieve secrets - name: Retrieve secrets
id: retrieve-secrets id: retrieve-secrets
uses: bitwarden/gh-actions/get-keyvault-secrets@c86ced0dc8c9daeecf057a6333e6f318db9c5a2b uses: bitwarden/gh-actions/get-keyvault-secrets@master
if: failure() if: failure()
with: with:
keyvault: "bitwarden-ci" keyvault: "bitwarden-ci"

2
.github/workflows/release-digital-ocean.yml

@ -26,7 +26,7 @@ jobs:
- name: Retrieve secrets - name: Retrieve secrets
id: retrieve-secrets id: retrieve-secrets
uses: bitwarden/gh-actions/get-keyvault-secrets@c86ced0dc8c9daeecf057a6333e6f318db9c5a2b uses: bitwarden/gh-actions/get-keyvault-secrets@master
with: with:
keyvault: "bitwarden-ci" keyvault: "bitwarden-ci"
secrets: "digital-ocean-api-key" secrets: "digital-ocean-api-key"

2
.github/workflows/release-web-latest.yml

@ -32,7 +32,7 @@ jobs:
########## DockerHub ########## ########## DockerHub ##########
- name: Setup DCT - name: Setup DCT
id: setup-dct id: setup-dct
uses: bitwarden/gh-actions/setup-docker-trust@082f5e05ed97c3601c6f3179250b1a761c4d647f uses: bitwarden/gh-actions/setup-docker-trust@master
with: with:
azure-creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }} azure-creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}
azure-keyvault-name: "bitwarden-ci" azure-keyvault-name: "bitwarden-ci"

8
.github/workflows/update-links.yml

@ -44,7 +44,7 @@ jobs:
fi fi
- name: Update Bitwarden Script PowerShell Link - name: Update Bitwarden Script PowerShell Link
uses: bitwarden/gh-actions/update-rebrandly-link@c86ced0dc8c9daeecf057a6333e6f318db9c5a2b uses: bitwarden/gh-actions/update-rebrandly-link@master
with: with:
apikey: ${{ steps.retrieve-secrets.outputs.rebrandly-apikey }} apikey: ${{ steps.retrieve-secrets.outputs.rebrandly-apikey }}
domain: "go.btwrdn.co" domain: "go.btwrdn.co"
@ -52,7 +52,7 @@ jobs:
destination: "https://github.com/bitwarden/self-host/releases/download/${{ steps.tag-name.outputs.value }}/bitwarden.ps1" destination: "https://github.com/bitwarden/self-host/releases/download/${{ steps.tag-name.outputs.value }}/bitwarden.ps1"
- name: Update Run Script PowerShell Link - name: Update Run Script PowerShell Link
uses: bitwarden/gh-actions/update-rebrandly-link@c86ced0dc8c9daeecf057a6333e6f318db9c5a2b uses: bitwarden/gh-actions/update-rebrandly-link@master
with: with:
apikey: ${{ steps.retrieve-secrets.outputs.rebrandly-apikey }} apikey: ${{ steps.retrieve-secrets.outputs.rebrandly-apikey }}
domain: "go.btwrdn.co" domain: "go.btwrdn.co"
@ -60,7 +60,7 @@ jobs:
destination: "https://github.com/bitwarden/self-host/releases/download/${{ steps.tag-name.outputs.value }}/run.ps1" destination: "https://github.com/bitwarden/self-host/releases/download/${{ steps.tag-name.outputs.value }}/run.ps1"
- name: Update Bitwarden Script Shell Link - name: Update Bitwarden Script Shell Link
uses: bitwarden/gh-actions/update-rebrandly-link@c86ced0dc8c9daeecf057a6333e6f318db9c5a2b uses: bitwarden/gh-actions/update-rebrandly-link@master
with: with:
apikey: ${{ steps.retrieve-secrets.outputs.rebrandly-apikey }} apikey: ${{ steps.retrieve-secrets.outputs.rebrandly-apikey }}
domain: "go.btwrdn.co" domain: "go.btwrdn.co"
@ -68,7 +68,7 @@ jobs:
destination: "https://github.com/bitwarden/self-host/releases/download/${{ steps.tag-name.outputs.value }}/bitwarden.sh" destination: "https://github.com/bitwarden/self-host/releases/download/${{ steps.tag-name.outputs.value }}/bitwarden.sh"
- name: Update Run Script Shell Link - name: Update Run Script Shell Link
uses: bitwarden/gh-actions/update-rebrandly-link@c86ced0dc8c9daeecf057a6333e6f318db9c5a2b uses: bitwarden/gh-actions/update-rebrandly-link@master
with: with:
apikey: ${{ steps.retrieve-secrets.outputs.rebrandly-apikey }} apikey: ${{ steps.retrieve-secrets.outputs.rebrandly-apikey }}
domain: "go.btwrdn.co" domain: "go.btwrdn.co"

6
.github/workflows/update-versions.yml

@ -24,7 +24,7 @@ jobs:
- name: Get Latest Core Version - name: Get Latest Core Version
id: get-core id: get-core
uses: bitwarden/gh-actions/get-release-version@c86ced0dc8c9daeecf057a6333e6f318db9c5a2b uses: bitwarden/gh-actions/get-release-version@master
with: with:
repository: bitwarden/server repository: bitwarden/server
trim: true trim: true
@ -46,7 +46,7 @@ jobs:
- name: Get Latest Web Version - name: Get Latest Web Version
id: get-web id: get-web
uses: bitwarden/gh-actions/get-release-version@c86ced0dc8c9daeecf057a6333e6f318db9c5a2b uses: bitwarden/gh-actions/get-release-version@master
with: with:
repository: bitwarden/clients repository: bitwarden/clients
monorepo: true monorepo: true
@ -70,7 +70,7 @@ jobs:
- name: Get Latest Key Connector Version - name: Get Latest Key Connector Version
id: get-key-connector id: get-key-connector
uses: bitwarden/gh-actions/get-release-version@c86ced0dc8c9daeecf057a6333e6f318db9c5a2b uses: bitwarden/gh-actions/get-release-version@master
with: with:
repository: bitwarden/key-connector repository: bitwarden/key-connector
trim: true trim: true

Loading…
Cancel
Save