Skip to content

Commit

Permalink
resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Chethan-rao committed Nov 22, 2023
1 parent e7b4159 commit a56a9cd
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/CI-pr.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI-pr
name: CI

on:
pull_request:
Expand All @@ -14,6 +14,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Generate a token
if: ${{ github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }}
id: generate_token
uses: actions/create-github-app-token@v1
with:
Expand Down Expand Up @@ -62,6 +63,7 @@ jobs:

steps:
- name: Generate a token
if: ${{ github.event.pull_request.head.repo.full_name == github.event.pull_request.base.repo.full_name }}
id: generate_token
uses: actions/create-github-app-token@v1
with:
Expand Down Expand Up @@ -97,8 +99,6 @@ jobs:
crate: cargo-hack

- uses: Swatinem/[email protected]
with:
save-if: ${{ github.event_name == 'push' }}

- name: Deny warnings
shell: bash
Expand Down
4 changes: 1 addition & 3 deletions .github/workflows/CI-push.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI-push
name: CI

on:
push:
Expand Down Expand Up @@ -49,8 +49,6 @@ jobs:
crate: cargo-hack

- uses: Swatinem/[email protected]
with:
save-if: ${{ github.event_name == 'push' }}

- name: Deny warnings
shell: bash
Expand Down

0 comments on commit a56a9cd

Please sign in to comment.