You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: 'Enter link to Release Notes, e.g. https://documentation.anyline.com/flutter-plugin-component/latest/release-notes.html#54-6-0-2025-02-17'
types: [closed] # Trigger the workflow when a pull request is closed
6
+
branches:
7
+
- main # Only trigger for pull requests merged into the main branch
8
+
9
+
jobs:
10
+
create_tag:
11
+
if: github.event.pull_request.merged == true && startsWith(github.head_ref, 'release/') # Run only if the PR is merged and the branch name starts with 'release/'
12
+
runs-on: ubuntu-latest # Use the latest Ubuntu environment
13
+
steps:
14
+
- name: Checkout repository
15
+
uses: actions/checkout@v4 # Check out the repository
16
+
17
+
- name: Set up Git
18
+
run: |
19
+
git config user.name "${{ secrets.RELEASE_BOT_USERNAME }}" # Set Git username
20
+
git config user.email "${{ secrets.RELEASE_BOT_EMAIL }}" # Set Git email
0 commit comments