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
2 changes: 1 addition & 1 deletion .github/workflows/build-draft-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
docx: true
lint: true
draft: ${{ !(github.event_name == 'push' && github.repository == 'cabforum/servercert' && github.ref == 'refs/heads/main') }}
- uses: actions/upload-artifact@v3
- uses: actions/upload-artifact@v4
with:
name: ${{ matrix.document }}-${{ github.event.pull_request.head.sha || github.sha }}-${{ github.event_name }}
path: |
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/tag-version-at-issue-creation.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Reference TLS BR and EVG version upon issue creation
on:
issues:
types: [opened]

jobs:
tls-evg-version:
name: Reference TLS BR and EVG version upon issue creation
runs-on: ubuntu-latest

steps:
- name: Checkout repository
uses: actions/checkout@v4

- name: Read version from TLS BR
id: read_tlsbr_version
run: |
subtitle=$(grep -Po '(?<=subtitle:\s).*$' docs/BR.md | tr -d '\r')
echo "tlsbr_version=$subtitle" >> $GITHUB_OUTPUT

- name: Read version from EVG
id: read_evg_version
run: |
subtitle=$(grep -Po '(?<=subtitle:\s).*$' docs/EVG.md | tr -d '\r')
echo "evg_version=$subtitle" >> $GITHUB_OUTPUT

- name: Add comment to issue
uses: peter-evans/create-or-update-comment@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number }}
body: |
This issue was created based on:
- TLS BR ${{ steps.read_tlsbr_version.outputs.tlsbr_version }}
- EVG ${{ steps.read_evg_version.outputs.evg_version }}

Loading
Loading