Browse Source

add more comment to missing actions (#49)

pull/53/head
Opeyemi 3 years ago committed by GitHub
parent
commit
1de0e2702b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      .github/workflows/build.yml
  2. 8
      .github/workflows/release.yml
  3. 8
      .github/workflows/version-bump.yml
  4. 2
      .github/workflows/workflow-linter.yml

10
.github/workflows/build.yml

@ -13,7 +13,7 @@ jobs: @@ -13,7 +13,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout repo
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Install cloc
run: sudo apt update && sudo apt install cloc -y
@ -30,7 +30,7 @@ jobs: @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout repo
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Print environment
run: |
@ -59,7 +59,7 @@ jobs: @@ -59,7 +59,7 @@ jobs:
ls -atlh ../../../
- name: Upload service artifact
uses: actions/upload-artifact@6673cd052c4cd6fcf4b4e6e60ea986c889389535
uses: actions/upload-artifact@0b7f8abb1508181956e8e162db84b466c27e18ce # v3.1.2
with:
name: KeyConnector.zip
path: ./src/KeyConnector/KeyConnector.zip
@ -74,7 +74,7 @@ jobs: @@ -74,7 +74,7 @@ jobs:
_SERVICE_NAME: key-connector
steps:
- name: Checkout repo
uses: actions/checkout@a12a3943b4bdde767164f792f33f40b04645d846
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Setup DCT
id: setup-dct
@ -85,7 +85,7 @@ jobs: @@ -85,7 +85,7 @@ jobs:
azure-keyvault-name: "bitwarden-ci"
- name: Get build artifact
uses: actions/download-artifact@fb598a63ae348fa914e94cd0ff38f362e927b741
uses: actions/download-artifact@9bc31d5ccc31df68ecc42ccf4149144866c47d8a # v3.0.2
with:
name: KeyConnector.zip

8
.github/workflows/release.yml

@ -32,7 +32,7 @@ jobs: @@ -32,7 +32,7 @@ jobs:
exit 1
fi
- name: Checkout repo
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Check Release Version
id: version
@ -74,7 +74,7 @@ jobs: @@ -74,7 +74,7 @@ jobs:
azure-keyvault-name: "bitwarden-ci"
- name: Checkout repo
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579 # v2.4.0
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Pull latest selfhost image
run: |
@ -116,7 +116,7 @@ jobs: @@ -116,7 +116,7 @@ jobs:
needs: setup
steps:
- name: Create release
uses: ncipollo/release-action@40bb172bd05f266cf9ba4ff965cb61e9ee5f6d01 # v1.9.0
uses: ncipollo/release-action@a2e71bdd4e7dab70ca26a852f29600c98b33153e # v1.12.0
with:
commit: ${{ github.sha }}
tag: "v${{ needs.setup.outputs.release_version }}"
@ -154,7 +154,7 @@ jobs: @@ -154,7 +154,7 @@ jobs:
fi
- name: Login to Azure - Prod Subscription
uses: Azure/login@1f63701bf3e6892515f1b7ce2d2bf1708b46beaf
uses: Azure/login@1f63701bf3e6892515f1b7ce2d2bf1708b46beaf # v1.4.3
if: failure()
with:
creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}

8
.github/workflows/version-bump.yml

@ -15,10 +15,10 @@ jobs: @@ -15,10 +15,10 @@ jobs:
runs-on: ubuntu-20.04
steps:
- name: Checkout Branch
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Login to Azure - Prod Subscription
uses: Azure/login@1f63701bf3e6892515f1b7ce2d2bf1708b46beaf
uses: Azure/login@1f63701bf3e6892515f1b7ce2d2bf1708b46beaf # v1.4.3
with:
creds: ${{ secrets.AZURE_KV_CI_SERVICE_PRINCIPAL }}
@ -30,7 +30,7 @@ jobs: @@ -30,7 +30,7 @@ jobs:
secrets: "github-gpg-private-key, github-gpg-private-key-passphrase"
- name: Import GPG key
uses: crazy-max/ghaction-import-gpg@c8bb57c57e8df1be8c73ff3d59deab1dbc00e0d1
uses: crazy-max/ghaction-import-gpg@111c56156bcc6918c056dbef52164cfa583dc549 # v5.2.0
with:
gpg_private_key: ${{ steps.retrieve-secrets.outputs.github-gpg-private-key }}
passphrase: ${{ steps.retrieve-secrets.outputs.github-gpg-private-key-passphrase }}
@ -43,7 +43,7 @@ jobs: @@ -43,7 +43,7 @@ jobs:
git push -u origin version_bump_${{ github.event.inputs.version_number }}
- name: Checkout Version Branch
uses: actions/checkout@ec3a7ce113134d7a93b817d10a8272cb61118579
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
with:
ref: version_bump_${{ github.event.inputs.version_number }}

2
.github/workflows/workflow-linter.yml

@ -8,4 +8,4 @@ on: @@ -8,4 +8,4 @@ on:
jobs:
call-workflow:
uses: bitwarden/gh-actions/.github/workflows/workflow-linter.yml@master
uses: bitwarden/gh-actions/.github/workflows/workflow-linter.yml@f07c58ae6d120bcfbb01f695074aff45c41e7627

Loading…
Cancel
Save