Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 10 additions & 5 deletions .dockerignore
Original file line number Diff line number Diff line change
@@ -1,27 +1,32 @@
# Common
*.md

_.md
docker-compose.yml
Dockerfile*
.env*
Dockerfile_
.env\*
Makefile

# Logs

logs
*.log
\*.log

# IDE's

.vscode/
.idea/

# Dependency directories

node_modules/
.venv/

## Cache directories

.parcel-cache

# git

.git
.gitattributes
.gitignore
.github/
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

formatting of file, but this was the important change.

1 change: 1 addition & 0 deletions .github/workflows/test-auto-labeler.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ permissions:
jobs:
auto_labeler:
permissions:
contents: read
pull-requests: write
uses: ./.github/workflows/auto-labeler.yaml
with:
Expand Down
9 changes: 8 additions & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,9 @@
FROM alpine
CMD ["echo", "Hello World!!"]

WORKDIR /app

# copy all files from repo to ensure all changes are included
# which will ensure a new image digest is generated
COPY . .

CMD ["cat", "README.md"]
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,5 @@ This is a placeholder repo for multiple GitHub Actions we use in open source pro
> - [labeler.yml](.github/labeler.yml)
> - [release-drafter.yaml](.github/release-drafter.yaml)

> [!WARNING]
> The container image generated in this repo is a placeholder, it contains no content. It uses [alpine:latest and says "Hello World"](https://github.com/github/ospo-reusable-workflows/blob/main/Dockerfile). The image creation option is for GitHub Actions who need it because their Action is not written in JavaScript/Typescript and they want to track downloads/usage.
> [!NOTE]
> The container image generated in this repo is a placeholder, it contains the files of this repository to ensure it shows "change" and a new container image digest is generated. This allows us to see tagging of the new container image is working and newly generated attestation is related to a new SHA/digest in the [packages view](https://github.com/github/ospo-reusable-workflows/pkgs/container/ospo-reusable-workflows).
1 change: 1 addition & 0 deletions docs/auto-labeler.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
```yaml
- uses: github/ospo-reusable-workflows/.github/workflows/auto-labeler.yml@main
permissions:
contents: read
pull-requests: write
with:
# The name of the configuration file to use, default is release-drafter.yml
Expand Down
Loading