Skip to content

Commit b655756

Browse files
authored
Merge pull request #34013 from github/repo-sync
repo sync
2 parents b8713d1 + e6f7bc7 commit b655756

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

content/actions/creating-actions/creating-a-docker-container-action.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -128,6 +128,7 @@ Next, the script gets the current time and sets it as an output variable that ac
128128
1. Make your `entrypoint.sh` file executable. Git provides a way to explicitly change the permission mode of a file so that it doesn’t get reset every time there is a clone/fork.
129129

130130
```shell{:copy}
131+
$ git add entrypoint.sh
131132
$ git update-index --chmod=+x entrypoint.sh
132133
```
133134

content/actions/using-workflows/caching-dependencies-to-speed-up-workflows.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -343,8 +343,8 @@ jobs:
343343
run: |
344344
gh extension install actions/gh-actions-cache
345345
346-
REPO=${{ github.repository }}
347-
BRANCH=${{ github.ref }}
346+
REPO={% raw %}${{ github.repository }}{% endraw %}
347+
BRANCH={% raw %}${{ github.ref }}{% endraw %}
348348
349349
echo "Fetching list of cache key"
350350
cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 )
@@ -358,7 +358,7 @@ jobs:
358358
done
359359
echo "Done"
360360
env:
361-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
361+
GH_TOKEN: {% raw %}${{ secrets.GITHUB_TOKEN }}{% endraw %}
362362
```
363363

364364
Alternatively, you can use the API to programmatically delete caches on your own cadence. For more information, see "[Delete GitHub Actions caches for a repository](/rest/actions/cache#delete-github-actions-caches-for-a-repository-using-a-cache-key)."

0 commit comments

Comments
 (0)