Skip to content

Create GitHub Action for upstream releases#2383

Open
jan-cerny wants to merge 2 commits into
OpenSCAP:mainfrom
jan-cerny:release_action
Open

Create GitHub Action for upstream releases#2383
jan-cerny wants to merge 2 commits into
OpenSCAP:mainfrom
jan-cerny:release_action

Conversation

@jan-cerny

Copy link
Copy Markdown
Member

This commit updates the upstream release process and introduces a GitHub Action that performs the upstream release and creates tarball automatically.

Having an automated, ephemeral and isolated release pipeline significantly reduces risk of releasing a compromised release. It helps ensure that the release tarballs don't contain unwanted artifacts and aren't affected by compromised environment.

This commit updates the upstream release process and introduces
a GitHub Action that performs the upstream release and creates
tarball automatically.

Having an automated, ephemeral and isolated release pipeline
significantly reduces risk of releasing a compromised release.
It helps ensure that the release tarballs don't contain unwanted
artifacts and aren't affected by compromised environment.
@jan-cerny

jan-cerny commented Jul 9, 2026

Copy link
Copy Markdown
Member Author

To test that the new GitHub action works I have created a new throwaway fork https://github.com/jan-cerny/openscap-throwaway. I have pushed this commit to the main branch there and I pushed there a commit updating the NEWS file. I have published a new release in that repo, which triggered this action: https://github.com/jan-cerny/openscap-throwaway/actions/runs/29000787475 In the release page you can see that the tarball has been attached https://github.com/jan-cerny/openscap-throwaway/releases/tag/1.4.5 It also added an attestation to https://github.com/jan-cerny/openscap-throwaway/attestations

with:
submodules: recursive
- name: Build source tarball
run: |

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Can we use working-directory here?

@sonarqubecloud

Copy link
Copy Markdown

@jan-cerny

Copy link
Copy Markdown
Member Author

I have add the working directory option. See the new action in the throwaway fork for that commit https://github.com/jan-cerny/openscap-throwaway/actions/runs/29077488756 and the release https://github.com/jan-cerny/openscap-throwaway/releases/tag/1.4.51

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants