Skip to content

Commit

Permalink
Update on 2024-08-20 (#130)
Browse files Browse the repository at this point in the history
* Update reusable-workflow.yml

* Bump eslint to 9.5.0

* format

* Add `post-job`
  • Loading branch information
toshimaru authored Aug 20, 2024
1 parent 0738e84 commit 6f08d19
Show file tree
Hide file tree
Showing 5 changed files with 44 additions and 38 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/github-output.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,11 @@ jobs:
- name: Output the result 3
run: |
echo "commit: ${{ needs.pre-job.outputs.result }}"
post-job:
runs-on: ubuntu-latest
needs: job
steps:
- run: echo 1
- run: echo 2
if: github.event_name == 'workflow_dispatch'
- run: echo 3
2 changes: 0 additions & 2 deletions .github/workflows/labeled.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
name: 'pull_request labeled event'

on:
pull_request:
types: [labeled, unlabeled]

jobs:
job:
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/reusable-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
triage:
runs-on: ubuntu-latest
steps:
- run: sleep 60
- run: sleep 30
- run: echo ${{ github.head_ref }} # head_ref is empty
- run: echo ${{ github.ref }}
- run: echo ${{ inputs.my-word }}
68 changes: 34 additions & 34 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,6 @@
},
"homepage": "https://github.com/toshimaru/Test#readme",
"devDependencies": {
"eslint": "9.4.0"
"eslint": "9.5.0"
}
}

0 comments on commit 6f08d19

Please sign in to comment.