Skip to content
This repository has been archived by the owner on Jul 9, 2024. It is now read-only.

Commit

Permalink
ci: use tag
Browse files Browse the repository at this point in the history
  • Loading branch information
coderbyheart committed Oct 19, 2023
1 parent 7bf8583 commit 294ce63
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 17 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-and-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ jobs:
nextRelease: ${{ steps.version.outputs.nextRelease }}

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/checkout@v4

- name: Determine next release version
uses: nordicsemiconductor/cloud-get-next-version-action@saga
Expand All @@ -83,7 +83,7 @@ jobs:
loglevel: [debug, nodebug]

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/checkout@v4
with:
path: firmware

Expand Down Expand Up @@ -147,7 +147,7 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/checkout@v4

- uses: actions/download-artifact@v3

Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/pr-check_compliance.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
outputs:
version: ${{ steps.version.outputs.version }}
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version: "18.x"
Expand All @@ -27,7 +27,7 @@ jobs:
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/checkout@v4
- name: Install dependencies
run: npm ci
- name: Get NCS version
Expand All @@ -37,7 +37,7 @@ jobs:
runs-on: ubuntu-22.04
needs: [ncs]
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/checkout@v4
with:
ref: ${{ github.event.pull_request.head.sha }}
- name: Fetch all history for all tags and branches
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pr-clang-format.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
runs-on: ubuntu-22.04

steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/checkout@v4

- name: Install run-clang-format.py
run: |
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/sync-issue-labels.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ permissions:

on:
push:
branches:
branches:
- saga
paths:
- ".github/workflows/sync-issue-labels.yaml"
Expand All @@ -21,7 +21,7 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@v4

- name: Sync issue labels from docs repository
run: gh label clone NordicSemiconductor/asset-tracker-cloud-docs --force
run: gh label clone NordicSemiconductor/asset-tracker-cloud-docs --force
2 changes: 1 addition & 1 deletion .github/workflows/update-from-ncs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
update:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/checkout@v4
- name: Remove upstream files
run: rm -rf ./{src,boards,child_image,tests}
- name: Update from upstream
Expand Down
15 changes: 9 additions & 6 deletions .github/workflows/update-repo-info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ env:

on:
push:
branches:
branches:
- saga
paths:
- "package.json"
Expand All @@ -17,13 +17,16 @@ jobs:
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
uses: actions/checkout@v4

- name: Sync repository description
run: gh repo edit --description "`cat package.json | jq -r '.description'`"
run:
gh repo edit --description "`cat package.json | jq -r '.description'`"

- name: Sync repository topics
run: cat package.json | jq '.keywords[]' | xargs -I'{}' gh repo edit --add-topic {}
run:
cat package.json | jq '.keywords[]' | xargs -I'{}' gh repo edit
--add-topic {}

- name: Sync homepage
run: gh repo edit --homepage "`cat package.json | jq -r '.homepage'`"
run: gh repo edit --homepage "`cat package.json | jq -r '.homepage'`"

0 comments on commit 294ce63

Please sign in to comment.