diff --git a/.github/workflows/discord-commit.yml b/.github/workflows/discord-commit.yml index 3cd7e340f..3de7c7527 100644 --- a/.github/workflows/discord-commit.yml +++ b/.github/workflows/discord-commit.yml @@ -8,9 +8,9 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout repository - uses: actions/checkout@v4.1.1 + uses: actions/checkout@v4 - name: Discord Webhook uses: ChatDisabled/discord-commits@main with: id: ${{ secrets.WEBHOOK_ID }} - token: ${{ secrets.WEBHOOK_TOKEN }} \ No newline at end of file + token: ${{ secrets.WEBHOOK_TOKEN }} diff --git a/.github/workflows/discord-release.yml b/.github/workflows/discord-release.yml index 594c8f161..438a9c7db 100644 --- a/.github/workflows/discord-release.yml +++ b/.github/workflows/discord-release.yml @@ -10,12 +10,12 @@ jobs: runs-on: ubuntu-latest steps: - name: Checkout Repository - uses: actions/checkout@v4.1.1 + uses: actions/checkout@v4 - name: Github Releases To Discord - uses: SethCohen/github-releases-to-discord@v1.13.1 + uses: SethCohen/github-releases-to-discord@v1 with: webhook_url: ${{ secrets.WEBHOOK_URL }} color: "15852866" username: ${{ github.event.repository.name }} avatar_url: "https://i.imgur.com/Eh1yiLI.png" - footer_timestamp: true \ No newline at end of file + footer_timestamp: true diff --git a/.github/workflows/issues-project.yml b/.github/workflows/issues-project.yml index daa39a31b..4e5ed1895 100644 --- a/.github/workflows/issues-project.yml +++ b/.github/workflows/issues-project.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Get App Token - uses: actions/create-github-app-token@v1.6.1 + uses: actions/create-github-app-token@v1 id: generate_token with: app-id: ${{ secrets.APP_ID }} diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index df9fda6d0..d19aba570 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -5,7 +5,7 @@ jobs: name: Lint Resource runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 with: ref: ${{ github.event.pull_request.head.sha }} - name: Lint @@ -16,7 +16,7 @@ jobs: extra_libs: ox_lib+mysql+qblocales+qbox+qbox_playerdata+qbox_lib - name: Generate Lint Report if: always() - uses: mikepenz/action-junit-report@v3 + uses: mikepenz/action-junit-report@v4 with: report_paths: "**/junit.xml" check_name: Linting Report diff --git a/.github/workflows/release-action.yml b/.github/workflows/release-action.yml index 8ed80fe2d..e8b7c5479 100644 --- a/.github/workflows/release-action.yml +++ b/.github/workflows/release-action.yml @@ -11,7 +11,7 @@ jobs: runs-on: "ubuntu-latest" steps: - name: Checkout Repository - uses: actions/checkout@v4.1.1 + uses: actions/checkout@v4 with: fetch-depth: 0 ref: ${{ github.event.repository.default_branch }} @@ -28,16 +28,16 @@ jobs: zip -r ./${{ github.event.repository.name }}.zip ./${{ github.event.repository.name }} - name: Get App Token - uses: actions/create-github-app-token@v1.6.1 + uses: actions/create-github-app-token@v1 id: generate_token with: app-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.PRIVATE_KEY }} - name: Create Release - uses: 'marvinpinto/action-automatic-releases@latest' + uses: marvinpinto/action-automatic-releases@latest with: title: ${{ github.ref_name }} repo_token: '${{ steps.generate_token.outputs.token }}' prerelease: false - files: ${{ github.event.repository.name }}.zip \ No newline at end of file + files: ${{ github.event.repository.name }}.zip diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 667345b3b..0fe126a7b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -12,21 +12,21 @@ jobs: runs-on: ubuntu-latest steps: - name: Get App Token - uses: actions/create-github-app-token@v1.6.1 + uses: actions/create-github-app-token@v1 id: generate_token with: app-id: ${{ secrets.APP_ID }} private-key: ${{ secrets.PRIVATE_KEY }} - name: Checkout Repository - uses: actions/checkout@v4.1.1 + uses: actions/checkout@v4 with: token: ${{ steps.generate_token.outputs.token }} - name: Setup node - uses: actions/setup-node@v2 + uses: actions/setup-node@v4 with: - node-version: 16.x + node-version: 20.x - name: Bump manifest version run: node .github/actions/bump-manifest-version.js @@ -34,7 +34,7 @@ jobs: TGT_RELEASE_VERSION: ${{ inputs.version }} - name: Push manifest change - uses: EndBug/add-and-commit@latest + uses: EndBug/add-and-commit@v9 with: add: fxmanifest.lua push: true @@ -43,4 +43,4 @@ jobs: - name: Push Git Tag run: | git tag ${{ inputs.version }} - git push origin ${{ inputs.version }} \ No newline at end of file + git push origin ${{ inputs.version }}