diff --git a/.github/workflows/update-faa-dtpp-metafile.yml b/.github/workflows/update-faa-dtpp-metafile.yml index d3f145c034a..1674e150849 100644 --- a/.github/workflows/update-faa-dtpp-metafile.yml +++ b/.github/workflows/update-faa-dtpp-metafile.yml @@ -15,21 +15,19 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: 3.1.2 + uses: ruby/setup-ruby@v2 - name: Install dependencies run: gem install aipp ox - name: Retrieve d-TPP Metafile from FAA and save output as JSON run: ruby scripts/faa/faa_dtpp_get_metafile json/faa/dtpp/current_metafile.json - name: Commit changes - uses: EndBug/add-and-commit@v5 + uses: EndBug/add-and-commit@v9 with: author_name: airframesio author_email: code@airframes.io message: "Update FAA d-TPP Metafile - json/faa/dtpp/current_metafile.json" add: "*.*json" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/update-faa-fixes.yml b/.github/workflows/update-faa-fixes.yml index e2ab3cd9f0e..379ab08b15c 100644 --- a/.github/workflows/update-faa-fixes.yml +++ b/.github/workflows/update-faa-fixes.yml @@ -15,21 +15,19 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: 2.7 + uses: ruby/setup-ruby@v2 - name: Install dependencies run: gem install activesupport - name: Retrieve Fixes from FAA and save output as JSON run: ruby scripts/faa/faa_nfdc_get_fixes json/faa/nfdc/fixes.json - name: Commit changes - uses: EndBug/add-and-commit@v5 + uses: EndBug/add-and-commit@v9 with: author_name: Airframes.io author_email: code@airframes.io message: "Update FAA NFDC Fixes/Waypoints - json/faa/nfdc/fixes.json" add: "*.*json" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/update-faa-tfrs.yml b/.github/workflows/update-faa-tfrs.yml index 8aba449ed72..82a5d063504 100644 --- a/.github/workflows/update-faa-tfrs.yml +++ b/.github/workflows/update-faa-tfrs.yml @@ -16,11 +16,9 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: 2.7.8 + uses: ruby/setup-ruby@v2 - name: Install activesupport (6.1.4.6) run: gem install activesupport -v 6.1.4.6 - name: Install dependencies @@ -30,11 +28,11 @@ jobs: - name: Retrieve TFRs and save output as GeoJSON run: ruby scripts/faa/faa_get_tfrs --format=geojson json/faa/tfrs.geojson - name: Commit changes - uses: EndBug/add-and-commit@v5 + uses: EndBug/add-and-commit@v9 with: - author_name: Kevin Elliott - author_email: kevin@airframes.io + author_name: Airframes.io + author_email: code@airframes.io message: "Update FAA TFRs - json/faa/tfrs.json and json/faa/tfrs.geojson" add: "*.*json" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/update-noaa-aircraft-reports.yml b/.github/workflows/update-noaa-aircraft-reports.yml index 8d995c2ee8c..dbfb2b0f369 100644 --- a/.github/workflows/update-noaa-aircraft-reports.yml +++ b/.github/workflows/update-noaa-aircraft-reports.yml @@ -16,21 +16,19 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: 2.7.8 + uses: ruby/setup-ruby@v2 - name: Install dependencies run: gem install ox - name: Retrieve SIGMETs and save output as JSON run: ruby scripts/noaa/noaa_nws_awc_get_aircraft_reports json/noaa/aircraft_reports.json - name: Commit changes - uses: EndBug/add-and-commit@v5 + uses: EndBug/add-and-commit@v9 with: author_name: Kevin Elliott author_email: kevin@welikeinc.com message: "Update NOAA Aircraft Reports - json/noaa/aircraft_reports.json" add: "*.*json" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/update-noaa-metars.yml b/.github/workflows/update-noaa-metars.yml index 32f749b1cb1..41caf1b77f9 100644 --- a/.github/workflows/update-noaa-metars.yml +++ b/.github/workflows/update-noaa-metars.yml @@ -16,21 +16,19 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: 2.7.8 + uses: ruby/setup-ruby@v2 - name: Install dependencies run: gem install ox - name: Retrieve METARs and save output as JSON run: ruby scripts/noaa/noaa_nws_awc_get_metars json/noaa/metars.json - name: Commit changes - uses: EndBug/add-and-commit@v5 + uses: EndBug/add-and-commit@v9 with: author_name: Airframes.io author_email: code@airframes.io message: "Update NOAA METARs - json/noaa/metars.json" add: "*.*json" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/update-noaa-sigmets.yml b/.github/workflows/update-noaa-sigmets.yml index 65faa4136d5..562ff7f47e3 100644 --- a/.github/workflows/update-noaa-sigmets.yml +++ b/.github/workflows/update-noaa-sigmets.yml @@ -15,21 +15,19 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: 2.7.8 + uses: ruby/setup-ruby@v2 - name: Install dependencies run: gem install ox - name: Retrieve SIGMETs and save output as JSON run: ruby scripts/noaa/noaa_nws_awc_get_airsigmets json/noaa/sigmets.json - name: Commit changes - uses: EndBug/add-and-commit@v5 + uses: EndBug/add-and-commit@v9 with: author_name: Kevin Elliott author_email: kevin@welikeinc.com message: "Update NOAA SIGMETs - json/noaa/sigmets.json" add: "*.*json" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/update-noaa-tafs.yml b/.github/workflows/update-noaa-tafs.yml index 7e18af604fc..5235ed5d275 100644 --- a/.github/workflows/update-noaa-tafs.yml +++ b/.github/workflows/update-noaa-tafs.yml @@ -16,21 +16,19 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: 2.7.8 + uses: ruby/setup-ruby@v2 - name: Install dependencies run: gem install ox - name: Retrieve SIGMETs and save output as JSON run: ruby scripts/noaa/noaa_nws_awc_get_tafs json/noaa/tafs.json - name: Commit changes - uses: EndBug/add-and-commit@v5 + uses: EndBug/add-and-commit@v9 with: author_name: Kevin Elliott author_email: kevin@welikeinc.com message: "Update NOAA TAFs - json/noaa/tafs.json" add: "*.*json" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ github.token }} diff --git a/.github/workflows/update-vdl-ground-stations.yml b/.github/workflows/update-vdl-ground-stations.yml index 8dc0f2e0c71..5ef694f6f39 100644 --- a/.github/workflows/update-vdl-ground-stations.yml +++ b/.github/workflows/update-vdl-ground-stations.yml @@ -15,19 +15,17 @@ jobs: test: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 + - uses: actions/checkout@v4 - name: Set up Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: 2.6 + uses: ruby/setup-ruby@v2 - name: Convert the CSV source and save output as JSON run: ruby scripts/convert_vdl2gs_to_json csv/vdl/ground-stations.csv json/vdl/ground-stations.json - name: Commit changes - uses: EndBug/add-and-commit@v5 + uses: EndBug/add-and-commit@v9 with: author_name: Kevin Elliott author_email: kevin@welikeinc.com message: "Update VDL Ground Stations - json/vdl/ground-stations.json" add: "*.*json" env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_TOKEN: ${{ github.token }} diff --git a/.ruby-version b/.ruby-version new file mode 100644 index 00000000000..6ebad148881 --- /dev/null +++ b/.ruby-version @@ -0,0 +1 @@ +3.1.2 \ No newline at end of file