Commit b0251ed
committed
Use built-in core object in github-script example
Replace manual require of @actions/core with the built-in core object
that is automatically available in github-script action. This provides
a cleaner and more straightforward approach.
Reference: https://github.com/actions/github-script?tab=readme-ov-file#this-action1 parent a0d175b commit b0251ed
File tree
1 file changed
+2
-3
lines changed- content/actions/how-tos/secure-your-work/security-harden-deployments
1 file changed
+2
-3
lines changedLines changed: 2 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
80 | 80 | | |
81 | 81 | | |
82 | 82 | | |
83 | | - | |
84 | | - | |
85 | | - | |
| 83 | + | |
| 84 | + | |
86 | 85 | | |
87 | 86 | | |
88 | 87 | | |
| |||
0 commit comments