-
Notifications
You must be signed in to change notification settings - Fork 124
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
db0d40d
commit 221073f
Showing
3 changed files
with
103 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
on: | ||
push: | ||
tags: | ||
- '*' | ||
permissions: | ||
id-token: write # Undocumented OIDC support. | ||
packages: write # To publish container images to GHCR | ||
contents: write # To create a release | ||
jobs: | ||
release: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-go@v2 | ||
with: | ||
go-version: 1.17 | ||
- uses: sigstore/cosign-installer@main | ||
- run: go install github.com/google/[email protected] | ||
- run: echo "${{ secrets.GITHUB_TOKEN }}" | docker login ghcr.io -u ${{ github.workflow }} --password-stdin | ||
- run: KO_DOCKER_REPO=ghcr.io/${{ github.repository_owner }} ko publish -B ./cmd/allstar > container | ||
- run: docker pull $(cat container) | ||
- run: docker tag $(cat container) ghcr.io/${{ github.repository_owner }}/allstar:${{ github.ref_name }} | ||
- run: docker push ghcr.io/${{ github.repository_owner }}/allstar:${{ github.ref_name }} | ||
- run: COSIGN_EXPERIMENTAL=1 cosign sign -a git_sha=$GITHUB_SHA ghcr.io/${{ github.repository_owner }}/allstar:${{ github.ref_name }} | ||
- run: gh release create ${{ github.ref_name }} --notes "ghcr.io/${{ github.repository_owner }}/allstar:${{ github.ref_name }}" | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
# What's new with Allstar | ||
|
||
Major features and changes added to Allstar. | ||
|
||
## Added since last release | ||
|
||
- | ||
|
||
## Release v2.0 | ||
|
||
- Branch Protection added the `requireStatusChecks` setting to ensure listed | ||
status checks are set in protection settings. Also enforces the | ||
`requireUpToDateBranch` option, if `requireStatusChecks` is set. | ||
|
||
- You may now opt-out of repos marked as "archived" in GitHub with the | ||
`optOutArchivedRepos` option. | ||
|
||
- Binary Artifacts policy issue text improved. | ||
|
||
- A custom footer can be added to all issues created in an organization with | ||
the `issueFooter` option. | ||
|
||
- Branch Protection now supports the "fix" action. | ||
|
||
## Proposed functionality changes in v2.0 | ||
|
||
- Option `testingOwnerlessAllowed` in Outside Collaborator policy. Currently | ||
defaults true, proposal to default to false in next release. | ||
|
||
- Note: this was temporarily enabled in Jan, but then turned off due to a bug. | ||
|
||
## Pre v2.0 | ||
|
||
Regular releases were not made before v2.0, so all previous notes are here. | ||
|
||
- All issues for an org can be routed to a single repo using the `issueRepo` | ||
setting. | ||
|
||
- Org config can now be located in `.github/allstar` as a secondary location | ||
after the `.allstar` repo. | ||
|
||
- Issues can be created with a custom label using the `issueLabel` option. | ||
|
||
- Private or Public repositories can be opt-out as a group with the | ||
`optOutPrivateRepos` or `optOutPublicRepos` options. | ||
|
||
- We will retroactively call this Allstar v1.0: Allstar announced | ||
https://openssf.org/blog/2021/08/11/introducing-the-allstar-github-app/ | ||
|
||
- Initial policies and features built | ||
|
||
- Allstar was proposed to the OpenSSF Securing Critical Projects WG and | ||
accepted https://youtu.be/o3SiBDUTCrw?t=300 |