Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/main'
Browse files Browse the repository at this point in the history
  • Loading branch information
N6REJ committed Oct 23, 2024
2 parents 418bcf8 + 8cf062b commit 576d502
Show file tree
Hide file tree
Showing 3 changed files with 75 additions and 75 deletions.
28 changes: 14 additions & 14 deletions .github/workflows/auto-merge.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
name: auto-merge

on:
pull_request:

jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.7
- uses: ahmadnassri/action-dependabot-auto-merge@v2.6
with:
target: minor
github-token: ${{ secrets.mytoken }}
name: auto-merge

on:
pull_request:

jobs:
auto-merge:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.2.0
- uses: ahmadnassri/action-dependabot-auto-merge@v2.6
with:
target: minor
github-token: ${{ secrets.mytoken }}
42 changes: 21 additions & 21 deletions .github/workflows/create-labels.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,21 @@
name: Create labels

on:
push:
branches:
- 'main'
paths:
- '.github/labels.yml'
- '.github/workflows/create-labels.yml'

jobs:
labeler:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4.1.7
-
name: Run Labeler
if: success()
uses: crazy-max/ghaction-github-labeler@v5.0.0
name: Create labels

on:
push:
branches:
- 'main'
paths:
- '.github/labels.yml'
- '.github/workflows/create-labels.yml'

jobs:
labeler:
runs-on: ubuntu-latest
steps:
-
name: Checkout
uses: actions/checkout@v4.2.0
-
name: Run Labeler
if: success()
uses: crazy-max/ghaction-github-labeler@v5.0.0
80 changes: 40 additions & 40 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
# description of this workflow, can be anything you want
name: Package and release

# we need to let GitHub know _when_ we want to release, typically only when we create a new tag.
# this will target only tags, and not all pushes to the main branch.
# this part can be heavily customized to your liking, like targeting only tags that match a certain word,
# other branches or even pull requests.
on:
push:
tags:
- '**'

# a workflow is built up as jobs, and within these jobs are steps
jobs:

# "release" is a job, you can name it anything you want
release:

# we can run our steps on pretty much anything, but the "ubuntu-latest" image is a safe bet
runs-on: ubuntu-latest

# specify the environment variables used by the packager, matching the secrets from the project on GitHub
env:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }}
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} # "GITHUB_TOKEN" is a secret always provided to the workflow
# for your own token, the name cannot start with "GITHUB_"

# "steps" holds a list of all the steps needed to package and release our AddOn
steps:

# we first have to clone the AddOn project, this is a required step
- name: Clone project
uses: actions/checkout@v4.1.7
with:
fetch-depth: 0 # gets git history for changelogs

# once cloned, we just run the GitHub Action for the packager project
- name: WoW Packager
uses: BigWigsMods/packager@v2
# description of this workflow, can be anything you want
name: Package and release

# we need to let GitHub know _when_ we want to release, typically only when we create a new tag.
# this will target only tags, and not all pushes to the main branch.
# this part can be heavily customized to your liking, like targeting only tags that match a certain word,
# other branches or even pull requests.
on:
push:
tags:
- '**'

# a workflow is built up as jobs, and within these jobs are steps
jobs:

# "release" is a job, you can name it anything you want
release:

# we can run our steps on pretty much anything, but the "ubuntu-latest" image is a safe bet
runs-on: ubuntu-latest

# specify the environment variables used by the packager, matching the secrets from the project on GitHub
env:
CF_API_KEY: ${{ secrets.CF_API_KEY }}
WAGO_API_TOKEN: ${{ secrets.WAGO_API_TOKEN }}
GITHUB_OAUTH: ${{ secrets.GITHUB_TOKEN }} # "GITHUB_TOKEN" is a secret always provided to the workflow
# for your own token, the name cannot start with "GITHUB_"

# "steps" holds a list of all the steps needed to package and release our AddOn
steps:

# we first have to clone the AddOn project, this is a required step
- name: Clone project
uses: actions/checkout@v4.2.0
with:
fetch-depth: 0 # gets git history for changelogs

# once cloned, we just run the GitHub Action for the packager project
- name: WoW Packager
uses: BigWigsMods/packager@v2.3.1

0 comments on commit 576d502

Please sign in to comment.